The Artima Developer Community
Sponsored Link

Artima Developer Spotlight Forum
Dojo 1.3 Released

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Dojo 1.3 Released Posted: Mar 31, 2009 8:29 PM
Reply to this message Reply
Advertisement

The latest release of Dojo, among the most popular JavaScript libraries, is now available via direct download, and also on the Google and AOL content-distribution networks.

The Dojo 1.3 release notes highlight compliance with the latest IE and WebKit-based browsers:

The focus of 1.3 was Internet Explorer 8 and WebKit (Chrome, Safari) compatibility and general performance, though the overall scope of Dojo invariably states a slew of new widgets, functions and API cleanups have landed, and are available now on two quality content distribution networks out of the box.

In addition, Dojo 1.3 includes many API enhancements, ostensibly with the goal of providing calls into faster internal implementation. Examples are API calls into simple document manipulation:

New base DOM API's we've put in place to make simple tasks even easier: dojo.create, dojo.destroy, dojo.empty, as well as added magic to dojo.place...

These new functions are super fast convenience API's and should allow you to write incredibly concise code. We were able to eliminate lines upon lines of code internally by switching to the new APIs, and we're not even 100% complete auditing DojoX.

In the same vein, Dojo's new selector engine also offers performance improvements:

Dojo now has a new selector engine, Acme, which offers considerable speed improvements to an already-fast dojo.query...

To summarize: AST-like inspection of queries to always find the fast-path, before even starting. The Sizzle engine from John Resig is also available as a build-time option and works transparently as the underlying selector engine for dojo.query...

Not only is dojo.query faster than ever, that which you get back from a query (a dojo.NodeList) has been similarly quickened. [The new API calls] provided a series of developer API's to map base "single-node" functions directly into NodeList. The _adapatAs* series of functions are hot, and should make advanced plugin-making even easier and eliminate a lot of code duplication.

In addition, Dojo 1.3 has much improved developer documentation:

The Uxebu folks have generated a client-side API parser and viewer covering Dojo, Dijit, and Dojox (and even your own code, provided you follow our syntax). The output from the internal doc parser (powered by the inline documentation) is available from the 1.3.0 download section as well, though is just pure XML.

What do you think of the latest Dojo release?

Topic: Mixins Considered Harmful: Proxies vs Mixins Previous Topic   Next Topic Topic: Exploring CouchDB

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use