17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 5852 Views |
-
Re: Moving to Prototype 1.5 and other JS issues

17 August 2007 at 11:20am
yeah, i just brought it up as fastinit would be fairly trivial to implement, and seeing as updating prototype is going to take awhile, it might be worth it
regardless, ondomload will surely be a welcome addition
-
Re: Moving to Prototype 1.5 and other JS issues

17 August 2007 at 11:35am Last edited: 17 August 2007 11:40am
Ajaxian has just posted a summary of Prototype 1.6
This is big. Prototype 1.6 is a major upgrade, and the first RC has been released. There is a large number of updates and my pet favourites are:
* The event system has been cleaned up. It now works the way you would expect, with “this†doing the right thing
* You can observe and fire custom events on the DOM (a la Dojo)
* Thanks to the custom events, DOMContentLoaded is normalized across browsers via: document.observe(â€Âcontentloadedâ€Â, function() { … })
* AOP-lite: Simple interception and function currying
* Function delay and defer: (function() { $(â€Âformâ€Â).fire(â€ÂrequestSentâ€Â) }).defer();
* Ajax.Response: Now you can more easily work with JSON
* DOM Builder
* Template API: “#{last}, #{first}â€Â.interpolate({ first: “Andrewâ€Â, last: “Dupont†})
* Improved support for JavaScript 1.6 and WHATWG 1.0 standardsBe sure to take a detailed look at this puppy.
| 5852 Views | ||
| Go to Top |


