3 ms·
It also annoys me to see jQuery promoted above plenty of other, perfectly capable frameworks. Why not "JS frameworks used on more websites that Flash"? Never mi
by untog 15y ago
It also annoys me to see jQuery promoted above plenty of other, perfectly capable frameworks. Why not "JS frameworks used on more websites that Flash"? Never mind that (as wccrawford points out) the comparison is stupid anyway...
- r00fus 15y agoWhich other frameworks have CSS3 selectors built in to the core for DOM traversal/editing? Which other frameworks are as fast as jQuery? Speed is critical, and the selector-based DOM navigation is paradigm-shifting.
- untog 15y agoA lot of other frameworks have CSS3 selectors: YUI - http://developer.yahoo.com/yui/selector/ http://developer.yahoo.com/yui/selector/ MooTools - http://mootools.net/blog/2007/06/11/selectors-on-fire-a-tale-of-pseudoselectors/ http://mootools.net/blog/2007/06/11/selectors-on-fire-a-tale... Dojo - http://dojotoolkit.org/reference-guide/dojo/query.html http://dojotoolkit.org/reference-guide/dojo/query.html Speed isn't anywhere near as relevant as it used to be, as all frameworks are more than "fast enough"- a SlickSpeed test shows jQuery,MooTools and dojo to be roughly equivalent: http://mootools.net/slickspeed/ http://mootools.net/slickspeed/ jQuery is a DOM manipulation library, and nothing else. A library like MooTools provides classes, etc. for more structured programming. Dojo has fantastic chart and grid functionality baked right in, as well as support for RTL languages. jQuery doesn't even have a JSON encoder, which blew my mind when I first found out. There is nothing wrong with jQuery. But choosing jQuery every time simply because it's what 'everyone' uses is a bad idea. I don't think that there should be a de-facto "go to library".