This week saw continued work towards the next release of YUI and the conclusion of our current 3.7.x sprint, which seeks to bring improved support to YUI 3.7+ for Windows 8 and IE10. For the most part, everything has worked great, but there are some differences in things like XML and tighter security policies that have needed either small tweaks or new sub-modules. If you are curious to see what kind of changes were needed, you can follow along the commit history on the IE10 branch. Once we complete our Windows 8 development, we hope to wrap it all up in a blog post detailing everything we’ve learned so far about Windows 8′s four JS runtimes and YUI.
One of the things being used for new WinJS sub-modules is a feature in YUI’s Loader, which we call capability-based loading. This was a feature added in YUI 3.2 which allows the library to segregate non-standard code into new sub-modules, and only load in those modules when necesary, thus improving performance and reducing k-weight for standards-based browers. If you are unfamiliar with this feature and interested in using it in your own apps, capability-based loading has its own recipe in the YUI 3 Cookbook (O’Reilly, Amazon), and you can read a preview of that chapter on Google Books.
Much of the Windows 8 testing has been doing using YUIMetroTester, an app that was built to run YUI’s automated tests inside a native WinJS app. If you are curious about YUI+WinJS development, or would like to run your own test suite inside it, feel free to use it as a reference guide or starting point.
If you are interested in deploying your YUI apps on Heroku, you might find this repository interesting. It’s a simple starter app paired with step-by-step instructions on how to use Heroku as a hosting service.
The YUI development schedule has been updated to include the latest information about our current sprints and upcoming releases, including 3.7.3 and 3.8.
Version bumps this week for one our the YUI devtools, Yogi. Upgrade with
npm -g install yogi.
New/updated modules in the Gallery this week: node-fitvids, datatable-col-resize, layout, fwt-treeview, flyweight-tree, anim-native, event-selection, itsatoolbar, zui-rascroll, bottle, nmresizer, and nmpjaxplus.