Yes, great screencast. (I think i learned a little portuguese too.)
A question about literal objects - is it fundamentally different than using prototype? // // example 1: literal obj // var Counter = { container = $('#counter'); start: 1, init: function() { container.val(start); } } $(document).ready(function() { Counter.init(); }); // // example 2: prototype obj // function Counter() { var start = 1; var container = $('#counter'); }; Counter.prototype.init = function(obj) { this.container.val(this.start); }; var c = new Counter(); c.init(); certainly the object literal method looks a bit cleaner. It is possible to create multiple instances? Any other advantages? -j On Feb 6, 9:59 am, rics <[EMAIL PROTECTED]> wrote: > Hello, > > Here is a great screencast tutorial on how to better organize your js > code with Literal Objects and JQuery. The author is brazilian and he > talks portuguese, but you can follow and understand the tutorial > without any sound, just seeing what he do on screen. > > http://www.tuliofaria.net/arquivos/videotutoriais/jsobjetoliteral/ > > Good luck! > rics