This document discusses the benefits of using the YUI library for JavaScript development. It highlights features like the YUI loader, widget architecture based on Base and plugins, and utilities for DOM manipulation, events, animation and more. The document also mentions how YUI supports progressive enhancement, accessibility, internationalization and building scalable web applications.
3. Most programming languages
contain good parts and bad parts. I
discovered that I could be a better
programmer by using only the good
parts and avoiding the bad parts.
Yahoo! JavaScript Architect
Douglas Crockford
http://www.yuiblog.com/blog/2008/05/05/crockford-inheritance/
6. YUI().use() CDN Sexy
YUI().use() + pulling code off of
Yahoo's CDN is damn sexy and
should be promoted *VERY* heavily.
The creator of jQuery
John Resig
http://www.quora.com/How-could-YUI3-improve-its-image-compared-to-jQuery-MooTools-etc
17. jQuery
$(“#foo”).content();
$(“#foo”).content(“blah blah”);
$(“#foo-link”).attr(“title”);
$(“#foo-link”).attr(“title”, “blah blah”);
set
get Native JavaScript
Unit Test
21. YUI
For scalable web applications, YUI
really excels.
Principal Front End Engineer, Yahoo!
Nicholas Zakas
http://www.nczonline.net/blog/2010/11/03/response-to-john-resigs-comments-about-yui/