first_page

YUI 3, MVC 2 Preview 2 and other links…

Eric gets evil eyes YUI 3.0.0: First GA Release of YUI’s Next-Generation Codeline

Eric Miraglia: “YUI 3 is the first ground-up redesign of YUI since 2005, and it brings with it a host of modernizations: …Selector-driven: YUI 3 is built around one of the lightest, fastest selector engines available, bringing the expressive power of the CSS selector specification into actions that target DOM nodes. …Syntactically terse: Without polluting the global namespace, YUI 3 supports a more terse coding style in which more can be accomplished with less code. …Self-completing: YUI 3’s light (6.2KB gzipped) seed file can serve as the starting point for any implementation. As long as this seed file is present on the page, you can load any module in the library on the fly. And all modules brought into the page via the built-in loader are done so via combo-handled, non-blocking HTTP requests. This makes loading the library safe, easy and fast. …Sandboxed: YUI modules are bound to YUI instances when you use() them; this protects you against changes that might happen later in the page’s lifecycle. (In other words, if someone blows away a module you’re using after you’ve created your YUI instance, your code won’t be affected.)”

ASP.NET MVC 2 Preview 2

Phil Haack: “Some of the cool new features we’ve added to Preview 2 include: …Client-Side Validation—ASP.NET MVC 2 includes the jQuery validation library to provide client-side validation based on the model’s validation metadata. It is possible to hook in alternative client-side validation libraries by writing an adapter which adapts the client library to the JSON metadata in a manner similar to the xVal validation framework. ….Areas—Preview 2 includes in-the-box support for single project areas for developers who wish to organize their application without requiring multiple projects. Registration of areas has also been streamlined. …Model Validation Providers—allow hooking in alternative validation logic to provide validation when model binding. The default validation providers uses Data Annotations. …Metadata Providers—allow hooking in alternative sources of metadata for model objects. The default metadata provider uses Data Annotations.”

Announcing the Microsoft AJAX CDN

Scott Guthrie: “The Microsoft AJAX CDN makes it really easy to add the jQuery and ASP.NET AJAX script libraries to your web sites, and have them be automatically served from one of our thousands of geo-located edge-cache servers around the world. …The ASP.NET 4.0 <asp:ScriptManager> control includes a new property named EnableCdn. When you assign the value true to this property, your application will use the Microsoft CDN to request JavaScript files automatically…”

rasx()