BT

InfoQ Homepage News Prototype 1.6 and Script.aculo.us 1.8 Bring Performance and Ajax Enhancements

Prototype 1.6 and Script.aculo.us 1.8 Bring Performance and Ajax Enhancements

Bookmarks
The final versions of Prototype 1.6.0 and script.aculo.us 1.8.0 have been released.  The Prototype website states that this is the most significant update to the framework since its inception over two years ago. Among the new Prototype features:

  • Ajax transport objects are now automatically wrapped in an Ajax.Response object.
  • Ajax.Response includes support for accessing JSON response bodies as JavaScript objects via the responseJSON property.
  • The class API now includes full support for inheritance and superclass method calls. (See Mislav’s tutorial for more info.)
  • Class objects now have an addMethods method for adding instance methods after creation.
  • Prototype’s event API now supports firing DOM-based custom events with Element#fire.
  • The new dom:loaded custom event fires when the entire document has loaded and is ready for manipulation.
  • Object properties can now be used in template replacement strings.

The complementary Script.aculo,us 1.8 includes new features as well:

  • Complete rewrite of the in-place editing controls.
  • Full CSS inheritance support for Effect.Morph.
  • Support for tweening between two values of an element property or method call with Effect.Tween.
  • A new sound API for playing interface sound effect MP3s.
  • Numerous bug fixes and performance improvements.
In addition related news core contributor Christophe Porteneuve’s book Prototype & script.aculo.us which covers the final versions Prototype 1.6.0 and script.aculo.us 1.8.0 is now available. Finally, Andrew Dupont and Tobie Langel have been added to the Prototype development team.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.