YUI 2.3.0 即将发布,最迟七月份可以看到。新的YUI组件和特点:
1. Rich Text Editor
The YUI RTE beta comprises an editor window and toolbar, the latter of which has a simple, extensible plugin architecture. It will feature full A-grade support. (Dav Glass)
2. ImageLoader Utility
Images often constitute the most data-heavy parts of a page, but many times users load images that they never see — because the image is below the fold, because it is in an obscured tab in a TabView, etc. The YUI ImageLoader is a new, experimental component that allows you to defer the loading of images based on criteria you specify and to then load those images when a specific “trigger” is hit. In some cases, use of ImageLoader can significantly reduce bandwidth and increase performance. (Matt Mlinac)
3. Base CSS
YUI’s Reset CSS normalizes browser CSS styles by stripping out browser-defined styles; this allows you to begin your CSS styles with all style decisions being intentional rather than inherited. YUI’s Base CSS will help you begin the process of making your styles intentional by providing a common set of treatments that most implementations share. (Nate Koechley)
4. Color Picker
Previous versions of YUI shipped a Color Picker example as part of the Slider Control. In 2.3, we’re formalizing Color Picker and completing its API to make it easier to implement this powerful control in your apps. (Adam Moore)
Notable Changes to Existing Components:
1. Button
Button remains in beta as we modify the architecture a bit. As of 2.3, the SplitButton implementation will replace MenuButton and be generic — allowing you to implement Buttons that have Menus or any other sub-control you wish. (Todd Kloots)
2. Connection Manager
YUI’s XHR utility will be enhanced with a Custom Event API that adds granularity to the interesting moments you can pipe into on your XHR transactions. (Thomas Sha)
3. DataTable
DataTable will undergo a major rearchitecture as it evolves to its second beta. Details on the DataTable evolution for 2.3 will be presented during an open conference call for all interested implementers during the second half of June. An invitation to the call will be sent out to this list a week prior to that call. (Jenny Han)
4. Browser History Manager
Browser History Manager comes out of experimental status with 2.3 and is promoted to beta, accompanied by several bug fixes and some key enhancements requested by YUI implementers during the experimental phase. (Julien Lecomte)