'What’s New in the YUI 3.2.0 Preview Release?'

'

The Yahoo User Interface (YUI) dev team recently announced a developer preview of the upcoming 3.2.0 version of the YUI JavaScript and CSS library. While many developers (including myself) more often reach for jQuery when doing JavaScript development, YUI remains an interesting alternative; these new features in the 3.2.0 preview might make it worth checking out. It’s an extensive update with a slew of new offerings, so I’ll only cover the most salient ones here. For a complete breakdown, check out the blog announcement and the full changelog.

First up, YUI 3.20 adds native support for touch events, so you can flick around your pages to your heart’s content. The jQTouch jQuery plugin has been providing similar functionality to jQuery developers, so it’s good to see YUI rising to the competition.

Next, YUI adds support for animations using CSS3 transitions. This means simple animations in modern browsers will be able to take advantage of hardware acceleration when it’s available, while loading less JavaScript code. Of course, all the browser differences are ironed out, so all you need to do is plug in the values of the animation you want.

Another next-gen technology implemented in 3.2.0 is offline storage: YUI’s caching utility has been updated to allow for data to persist between browser sessions when this is supported.

Less of a whiz-bang feature but still of interest, the YUI loader has been updated to improve caching, and to add the ability to load code based on the browser’s capabilities. This means that the team has been able to separate IE-only code from modern browser code in the whole library. The loader can then determine which bits of code are required depending on the user’s browser. As a result, visitors with modern browsers will find themselves loading less JavaScript, even without any changes to your application.

Finally, there are a few new widgets. One of particular interest is the ScrollView widget, which simulates scroll lists on Apple iOS devices, with a little bit of bounce at the top and bottom of the list.

A lot of these features seem to have a common thread: HTML5 and mobile platforms. I’m sure that’s no accident, and it’s great to see more and better developer tools entering this space. As I said, there’s a lot more than just these features, so if you’re a YUI fan—or if you’ve yet to check it out—head on over and grab yourself a copy of the preview to play around with.

Related Posts

  1. Rails 2.1 release candidate 1 is on its way
  2. ASP.NET MVC Preview 3 is Out!
  3. Updated IE7 Beta 2 Preview



\"\" \"\"\"\"'

Published on 27 July 2010
click here for the original article
page rated 
 - add your vote : 1 2 3 4 5 out of 5

visitor comments

Search for info
Get the latest news direct to your inbox
please enter your email address
subscribe to the G.E.T. rss feedfollow G.E.T. on twitterjoin G.E.T. on Facebook
Bookmark and Share
Latest News
Another security risk in Internet Explorer and not just IE6
Microsoft admitted to another Internet Explorer security flaw that could let hackers onto your computer.
Upgrade from Internet Explorer 6
Google is ditching support for Internet Explorer 6. Time to upgrade to a newer browser!
Northamptonshire website design and seo company
1. Where do you want to find businesses?
type a town, county, postcode, etc.
2. How far from here should I look?
3. What type of business do you want to find?
tick all the services you want
Domain Names
email test
Graphic Design
IT Services
Marketing
Search Engine Optimisation
Website Design
Website Hosting