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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Moving to Prototype 1.5 and other JS issues


Go to End


10 Posts   7996 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

Community Member, 201 Posts

17 August 2007 at 11:35am

Edited: 17/08/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 standards

Be sure to take a detailed look at this puppy.

Go to Top