BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

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

| by Scott Delap Follow 0 Followers on Nov 07, 2007. Estimated reading time: 1 minute |
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 Stage
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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT