Today is the day the Dojo has been working toward steadily for more than 3 years: Dojo 1.0.
There's much to say about this release, and we'll be updating the site to reflect many of the changes which landed in time for 1.0. Until then, the official press release has quotes and such while the trac milestone can give you a feel for all of the tremendous work that's gone into this release. What follows is a quick rundown of some of what has changed since 0.9. The full list would be too long to print, so give 1.0 a try. You'll like it.
New and Awesome:
* The Grid. This is the feature everyone's been waiting for, and now it's here! With support for virtual scrolling to accommodate huge data sets efficiently, built-in sorting and column resize to help you find what you're looking for, complex formatting, and fixed rows and column headers, the new Grid lets you slice-and-dice your data as never
before. The 1.0 grid features a Tundra theme, editing and write-back examples, support for custom cell editors (including the full set of accessible and localized Dijit editing components), and markup-driven instantiation.
* Charting returns! The new dojox.charting supports automatic axis calculations, widget-driven instantiation, multiple chart types, dojo.data data sources, and theming. Good-looking, data-oriented default themes help make your data understandable and easy on the eyes at the same time. And since dojox.charting is based on dojox.gfx, the general-purpose 2D drawing layer in Dojo, charting will only get more powerful, responsive, and good looking over time.
* a11y and i18n: rich experiences for everyone. All Dijit 1.0 widgets feature keyboard navigation, right-to-left text detection and layout, and solid localizations for 12 languages. No matter where in the world you are, Dijit has you covered. Dijit goes even further by providing ARIA role and state hinting to give users of assistive technologies the experience that developers intend.
* Universal data access. dojo.data and the growing list of data store implementations makes building and using data-driven widgets simpler and faster.
* dojox.gfx3d. Beautiful, portable 2D drawing is what dojox.gfx has always been about, and we're taking it further with the ability to draw 3D scenes. 3D charting is based on gfx3d. This module was developed as a Summer of Code project by Kun Xi.
* improved widget look-and-feel. The base Tundra theme continues to be improved. New and exciting extension (dojox) widgets are appearing in 1.0, including a new Lightbox widget.
* Django templating for widgets. Many people have fallen in love with Django's templating syntax and now you can now use it to build widgets thanks to Neil Roberts' excellent dojox.dtl package.
* improved stability, speed, and compatibility across the board.
Improved:
* Dijit form widgets obey width in a way that makes visual sense
* reworked validation indicators for form elements
* lightbox widget
* the widget lifecycle has been improved such that create() is now called from postfix(), allowing your constructor code to "get in on the ground floor"
* the new Drupal front-end for the Neil's documentation parser is now checked into the util namespace. This version provides disambiguated summaries and detail pages of the parsed object hierarchy, and since these pages are in Drupal, comments can be left by anyone.
* better command-line functioning of the unit test system
* an improved Firebug Lite which allows inspection of errors, popup-window placement, and parent-child cross frame logging.
* smoother animations
* build system now handles UTF-8 correctly end-to-end
* improved documentation and unit test coverage for all Core and Dijit APIs/widgets
0.9 to 1.0 porting Notes
* For the full list of changes, see the porting guide
* dojo.require("yourmodule.*") is dead. ".*" syntax no longer works. It was finally time to put the weird "__package__.js" file convention down.
* many dojo.query() bugs have been fixed. If your selectors were failing before due to whitespace issues, try them again.
* the non-standard "!=" attribute value match has been removed. Use the ":not()" pseudoclass.
* The non-standard ":contains" pseudo class has been removed from dojo.query()
Many people have contributed to this release and all the Dojo releases before it. It is truly a community effort, and over the past 3 years we've been awed by the amazing people who have dropped by and decided to get involved. To all of them, thank you and congratulations.
【 在 sly9 (弱) 的大作中提到: 】
: // 好像有点old了
: Wed, 10/24/2007 - 20:06 — dante
: Dojo released a beta of the 1.0 toolkit, and have made it available for download.
: ...................
--
FROM 202.108.12.*