4 ms·
What version of YUI did you use? What kinds of websites did you use it for (and what do you use jQuery for now)? I find YUI 3's Node and NodeList interfaces, w
by rgrove 16y ago
What version of YUI did you use? What kinds of websites did you use it for (and what do you use jQuery for now)?
I find YUI 3's Node and NodeList interfaces, which allow you to manipulate and traverse the DOM using selectors, to be just as easy as (and often easier than) the jQuery equivalents.
I can't imagine why anyone would seriously describe YUI's modules as "monolithic", even in YUI 2. YUI 3 in particular has very granular modules, and provides developers with a lot of freedom in being able to load only exactly what they need to accomplish a particular task. I wouldn't describe the selection of modules as "random", either.
It seems especially contradictory to describe YUI, which is inherently modular, as monolithic in comparison to jQuery, which is the very definition of monolithic (everything in a single file, so you load it all even if you don't need it all).
YUI and jQuery are each awesome in many ways and flawed in others, but I don't think your criticisms are fair.
Standard disclaimer applies: I've been a YUI user for years and am now a member of the YUI team, so I clearly have a preference here.
- andrewcooke 16y agoI use both, but prefer YUI (feels much better engineered, for one). Please keep up the good work!