Apr 26 2009

Arquivos do Mini curso de Django disponibilizados

Category: Djangovbmendes @ 23:04

No dia 24 de abril de 2009, no SENAC em Natal/RN, ocorreu o FLISOL. Neste evento, eu ministrei um mini curso de django. Então estou disponibilizando tanto os arquivos_mini_curso desenvolvido durante o curso, como os slides.

Tags: , ,


Apr 24 2009

Festival Latino-americano de Instalação de Software Livre

Category: Djangovbmendes @ 18:58

flisol

Venho através deste convidá-los ao FLISOL/RN 2009. O Festival Latino-americano de Instalação de Software Livre do RN irá acontecer no dia 25 de abril de 2009 no SENAC em Natal.

No evento eu irei ministrar um mini-curso introdutório ao framework Django das 14:00 as 17:00 horas, cujo objetivo é formar pessoas com conhecimentos básicos acerca do framework. O mini-curso irá abordar diversos conceitos do django através do desenvolvimento de um blog.

Maiores informações sobre o evento podem ser encontradas no site.

Tags: , ,


Apr 23 2009

MXHR, new awesome hot technology!

Category: Ajax,Javascript,Pythonfabiomcosta @ 20:56

MXHR stands for multiple XmlHttpRequests and was created some days ago by digg.com front end engineers.

This awesome technology lets front end engineers request more than one resource in a single XmlHttpRequest. As an example you will be able, in the future (the project is in alpha release), to get a javascript file, a css and some images with only one request, meaning that you will consume less bandwidth, will get data faster and it will be ordered the way you want. Cool huh?

See more detais on digg’s blog.


Apr 12 2009

meioMask 1.1 version released!

Category: Javascript,jQueryfabiomcosta @ 18:12

I present you meioMask 1.1 – a jQuery plugin for masking inputs.

meioMask for jQuery meioMask for Mootools! meioMask’s page at jquery.com meioMask’s SVN project page meioMask’s SVN

Features

  • Accepts paste event;
  • Haves fixed, reverse (currency) and repeat mask types;
  • You can still use your hot keys and others (ex: ctrl+t, ctrl+f5, TAB …);
  • Supports metadata plugin;
  • Works with iPhone;
  • Allow default values;
  • Haves callbacks for invalid inputs, valid and overflow;
  • Haves function to mask strings;
  • Support for positive and negative numbers on reverse masks;
  • Can auto-focus the next form element when the current input is completely filled.

Changelog

v1.1

  • Mask type ‘infinite’ is now called ‘repeat’ (using ‘infinite’ still works but it is deprecated). It now allows a maxLenght value to be set. MaxLength can be set by the maxLength attribute of the element or the maxLength option;
  • You can easily set an autoTab option that will focus the next form element when the masked input is totally filled. It is true by default but you can put a jQuery selector string to match the next element you want to be focused.
  • Deprecated ‘unmaskVal’ function. This function is too buggy… works for most cases but not all. The best way to unmask a value is by doing it yourself;
  • The fixedChars option is not global anymore, giving more flexibility for the masks;
  • ‘phone-us’ mask is now ‘(999) 999-9999′;
  • Correctly fires the onChange event on reverse masked inputs.

v1.0.4

  • New mask type ‘infinite’, it allows infinite values at masks. See demos for a better understanding;
  • Added new function ‘unmaskVal’ that returns the input value without the mask. See demos for a better understanding;
  • Removed a serious bug at IE that was fixing the caret at the end of the input;

v1.0.3

  • Callback functions now receive the char number as it second parameter, so it is possible to detect exactly which key has been pressed;
  • added the signed masks. It only works with the reverse mask. See demos for more details;
  • iPhone support improved. iPhone now works 100% better than the 1.0.2 version. I’ts logic have been changed, and now it’s working with full features. :P

v1.0.2

  • added input callbacks: onInvalid, onValid and onOverflow;
  • added support for default values;
  • can now be used like $().setMask({});
  • added the function $.mask.string(string,mask) that will mask a string (see demos);
  • now the value of the input is masked at the time the mask is applyed to it.

v1.0.1

  • added support for iphone;
  • removed a bug where a fixed char would be replaced by an inputed one.

v1.0

  • initial release.

You can see the plugin page here. It contains documentation and examples. Please tell me any bug, new feature, english errors on documentation…. anything! I’ll be glad to hear your feedback and make the fixes. Hope it helps you!

Tags: , , , ,