4 ms·
In the case of JavaScript libraries virtually everyone has standardized upon jQuery at this point. This guy really lives on his own planet. Maybe most websit
by oinksoft 14y ago
In the case of JavaScript libraries virtually everyone has
standardized upon jQuery at this point.
This guy really lives on his own planet. Maybe most websites that only need to add a small piece of JS functionality are using jQuery, but I seriously doubt that "virtually everyone" writing large JS projects is using jQuery. Google Closure Tools, Sencha/ExtJS, and MooTools remain quite popular, and a host of developers are skipping compatibility layers altogether and only supporting IE9+ and other recent browser versions, particularly those targeting mobile devices.
- kbutler 14y agoPerhaps he is overstating it a little, given that he's the creator of jQuery.
- untog 14y agoNo, I think the vast majority of websites really do use jQuery. Certainly, Wordpress uses it, so pretty much every Wordpress blog out there does. I just tried the Spotify homepage- yep- Huffington Post- yep... I think that everyone really has standardised on jQuery unless they're doing something specialised.
- phpnode 14y agoI don't think he's living on his own planet, he's actually right - jQuery runs the client side web. Not for everyone but easily 90% of sites (that actually have javascript functionality at all) will use jQuery
- oinksoft 14y agoRather, the practice of providing a DOM API compatibility layer runs the web, jQuery being the most widely used library of this sort. When you step out of the god-object API jQuery provides and look at the internals, jQuery, MooTools, and Closure look surprisingly similar. I find the latter to provide the best compatibility (so does Google), but that is another discussion altogether.
- flyosity 14y agoYour opinions on what JavaScript libraries provide "the best compatibility" has little bearing on your original statement, that jQuery is not as popular as it actually is.
- jeresig 14y agoI don't think this is particularly controversial opinion to have at this point: http://trends.builtwith.com/javascript/jQuery http://trends.builtwith.com/javascript/jQuery http://trends.builtwith.com/javascript http://trends.builtwith.com/javascript
- oinksoft 14y agoMost websites fall into the former "only need to add a small piece of JS functionality are using jQuery" category. A whole lot of websites include jQuery in default frontend templates and don't even use it on the public-facing website (Drupal, WordPress, other software that has a huge installed base). Vague deployment statistics mean very little.
- flyosity 14y agoI'm not sure what you are saying. That people have jQuery loaded on their websites but aren't using it? If that's your argument, then that's now a wholly separate argument. jQuery having a huge installed base is what we're talking about, and is what John was referring to. Seems like you are changing your stance now that it's fairly obvious your assertion was incorrect in the face of research.
- phpnode 14y agoClearly you have some kind of issue with jQuery but just because you don't like it doesn't make it any less popular, useful or prevalent. Here's a fun drinking game - open up the top 1000 websites and do a shot for each one that uses jQuery. You will be in hospital by about #20 I think.
- deleted 14y ago[deleted]
- pkorzeniewski 14y agojQuery has a 90% market share[1] among JS libraries so I think it isn't an exaggeration. [1] http://w3techs.com/technologies/overview/javascript_library/all http://w3techs.com/technologies/overview/javascript_library/...
- snowwrestler 14y agoBut the biggest websites generally don't use 3rd-party JS libraries at all--Google, Yahoo, Facebook, Twitter, etc. all write their own javascript libraries. Sure there is a long tail of sites that do use jQuery, but most of them don't do very much or get much traffic. If you look at jQuery's market share by aggregate user sessions or by aggregate time on site across the entire web, it does not look nearly as important.
- camus 14y agotwitter uses jquery.
- MarionG 14y agoYahoo uses the YUI library
- oinksoft 14y agoYUI stands for Yahoo User Interface. They wrote it and open-sourced it, like Google with the Closure Library. I wouldn't count it as a third-party library.
- MarionG 14y agoRight, it's not 3rd party, but it is included in the statistics that show 90% jQuery market share, and the argument was that the biggest websites are not represented there.
- oinksoft 14y agoI'm not sure what you're trying to say, but I don't see anybody making that argument in this thread.
- addlepate 14y agoSomeone's living on a different planet, but it ain't him.