JavaScript
Article
By Sam Deering

jQuery is better than Mootools! (12 Reasons)

By Sam Deering
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

jquery-vs-mootools

This post is now outdated, It has been kept here for entertainment purposes only.

Overview

Both jQuery and Mootools are JavaScript Development Packages that provide functions to make the writing of JavaScript code easier, faster and more efficient. Both have strengths and weaknesses, advantages and disadvantages but here on jQuery4u we love jQuery and think it’s the best so this list is all about how jQuery kicks Mootools a$$!

Notice: My preference to jQuery and should not be misinterpreted to a criticism of the others!

jQuery Official Definition

“jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.” source: http://jquery.com/

--ADVERTISEMENT--

Mootools Official Definition

“MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API.” source: http://mootools.net

File Sizes

Update: Both Libraries have a very similar file size when compressed (as with most libraries you can reduced the file size to personal sized versions containing only the functions you require – but most people just use the full versions!).

js-min-filesizes

10 Reasons why is jQuery better than Mootools!

  1. 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).
  2. 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.
  3. 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.
  4. jQuery has an Official UI library! – Mootools doesn’t. Boo.
  5. 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.
  6. jQuery is more accessible than Mootools! – It has better DOM management than Mootools by a long shot.
  7. 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.
  8. jQuery has sexier looking syntax than Mootools! – This ones a personal opinion of mine… a very subjective observation!
  9. 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).
  10. 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.
  11. 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!!!
  12. 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.
  13. google-jquery-mootools
    lslickspeed-jquery-mootools

speed-results-jquery-ie

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?