Yahoo! upgrades its YUI web framework
YUI().use() to select which YUI modules they need. To assist developers a Dependency Configurator is available to create the required
So that applications can use YUI 2 and 3 in parallel, the global object for YUI 3 is now
YUI instead of
YAHOO. In the future, the developers want to enable more robust applications by adding version numbering to the framework modules. Access to DOM objects via CSS selectors, in a similar way to jQuery, and selection by element ID are now both supported within the
Node class. Previously, developers using YUI had to use different methods for selecting through IDs, CSS classes or other CSS selectors.
YUI's event handling has also been enhanced with the use of a Facade Pattern, which makes it easier to apply callbacks to, not just single elements, but selections of elements. YUI is made available under a BSD licence and is available from the YUI 3 page along with documentation and examples.