Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Moving to Prototype 1.5 and other JS issues


Go to End
Reply


10 Posts   6322 Views

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

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

Avatar
Tim

Core Development Team, 201 Posts

17 August 2007 at 11:35am

Edited: 17/08/2007 11:40am

Ajaxian has just posted a [url=http://ajaxian.com/archives/prototype-16-the-event-overhaul-and-a-whole-lot-more]summary of Prototype 1.6[/url]

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 standards

Be sure to take a detailed look at this puppy.

Go to Top