Skip to content

Instantly share code, notes, and snippets.

@SergioCrisostomo
Forked from DimitarChristoff/refutal.md
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SergioCrisostomo/f3c4cb552fc5274ecc07 to your computer and use it in GitHub Desktop.
Save SergioCrisostomo/f3c4cb552fc5274ecc07 to your computer and use it in GitHub Desktop.

saw this artcile quoting 10 reasons why jquery is better than mootools. source: http://www.jquery4u.com/articles/jquery-mootools/

jQuery has better mobile support than Mootools – the latest release of jQuery Mobile Alpha 3 has been a breakthrough in how easy it can be to get your website “mobile efficient”. Mootools has mobile support including touch events but it’s not as widely available as jQuery options. (#1 was Previously jQuery vs Mootools filesizes).

not true. see http://moobilejs.com/

jQuery is less confusing than Mootools! – It has less native extensions (including element) – jQuery has about a dozen for Array, Object, and String and Mootools has about six dozen for Array, Object, String, Function, and Number.

how is less power and methods a good thing? the reason why mootools has more native methods is because it also shims browsers that lack ES5 functionality for all the natives that it extends. if anything, this goes against jquery.

jQuery has more plugins available than Mootools! – jQuery has hundreds of unofficial plug-ins in a directory at plugins.jquery.com while Mootools has roughly 4 dozen official plug-ins available at mootools.net/more. Unofficial plugin directory at mootools.net/plugins.

actually, the mootools plugins are at http://mootools.net/forge/ and the repository is quite official. there are less plugins but the vast majority of jquery ones are either poorly written or no-longer supported. also, mootools requires that plugins are submitted through github repos, which encourages higher visibility, collaboration and code organisation.

jQuery has an Official UI library! - Mootools doesn’t. Boo.

you win again. jquery ui is an absolute gem that sports some of the best javascript code ever written. just see https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js#L1415-1584

jQuery community is far larger than Mootools! – If you measure jQuery and MooTools on metrics like the number of people using it, the number of search queries run on Google, the number of books sold, etc, you’ll see jQuery is ahead by a wide margin.

granted, though the relative knowledge of a designer that is partaking in the jquery community leaves a lot to be desired. mootools community consists largely of programmers. it's about quality, not quantity.

jQuery is more accessible than Mootools! – It has better DOM management than Mootools by a long shot.

this makes absolutely no sense whatsoever. what does DOM MANAGEMENT even mean? if we compare the selector engines (Slick vs Sizzle), Slick is more accurate and more powerful whereas Sizzle is optimised for speed first.

jQuery is easier to learn than Mootools! – There are more tutorials out there online and you don’t need to know JavaScript inside out to learn it! It is also a widely known fact that Mootools takes longer to learn than jQuery.

this is true, learning jquery is easier because there is less to learn as an API. it also has made javascript accessible to the point where you can power your apps/pages without actually knowing much javascript at all. mootools is still keeping the javascript syntax and does need at least a rudimentary understanding of javascript syntax and best practices to actually author.

jQuery has sexier looking syntax than Mootools! – This ones a personal opinion of mine… a very subjective observation!

once again, this is a subjective opinion. if you actually know javascript, you know the mootools syntax. jquery is a DSL and learning it does not really benefit your knowledge of javascript and the syntax API cannot be applied to anything else. let's not even mention readability...

jQuery loads faster in IE than Mootools! – Proof is below!!! It’s pretty much the same load times as Mootools in all other browsers. (results by Slickspeed).

slickspeed is an actual mootools project but that aside, your tests are old and meaningless. people have long since stopped comparing frameworks based upon their selector speeds.

jQuery is updated more regularly than Mootools! – Simply better performance due to more updates and bug fixes from a dedicated team. See The Performance Results Tables.

jquery does, indeed, have more updates at the moment that go to master. mootools devs are currently busy with the new mootools 2.0 (aka prime) - which does not go into the current branch at all.

jQuery is the choice for WordPress! – WordPress is becoming the blogging platform for the future and jQuery is it’s choice! A google search for “WordPress jQuery” returned 8 times more results!!!

this is probably the worst argument ever. mootools is the choice for joomla - the biggest open source CMS out there. what does that prove? nothing. you should not make your decision over which framework to use based around who else has adopted it but you should base it on your project requirements instead.

jQuery is more likely to get you a job than Mootools! - A search on freelancers.com revealed 75 Freelance Jobs Found for jQuery and only 1 Freelance Jobs Found for Mootools.

true, that. good mootools developers are very hard to find and cost a lot of money. on the other hand, everyone that has ever put a page together by using jquery plugins puts jquery on their resume/C.V. - making it very difficult as an employer to distinguish the good from the bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment