TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Jquery or mootools?

5 pointsby bizodoabout 13 years ago

5 comments

pestaaabout 13 years ago
I tried to ditch jQuery a couple of times, but always coming back. The reasons I dislike it:<p><pre><code> * Stupid API. * Stupid API changes. * Stupid API documentation. * Plugins are minefield. </code></pre> The recent standardization of event handler attachments (see `.on`) is a lot saner than it used to be, but I believe it is still not there where it should be. (I don't know that place, otherwise I'd have written my own library.)<p>However, the jQuery ecosystem is hard to leave because<p><pre><code> * Monopoly in terms of plugins, * Already cached everywhere (from Google CDN), * Solves all cross-platform issues. </code></pre> There are a few other bits like the culture of short commands because of chained functions, but I personally find that a very minor detail.<p>I also happen to like the author's ongoing experiments with performance improvements.
emehrkayabout 13 years ago
MooTools makes more sense to me when you actually compare the two apis. If you're a JavaScript fan, MooTools is truer to the language.<p>Check out <a href="http://jqueryvsmootools.com" rel="nofollow">http://jqueryvsmootools.com</a>
debacleabout 13 years ago
jQuery is a DOM wrapper. MooTools is a JavaScript "extension." (Note the quotes and please don't crucify me)<p>What that basically means is that jQuery makes working with the DOM tolerable and MooTools makes working with JavaScript tolerable. I, personally, have issues with the DOM but no issues with JavaScript, so I opt for jQuery.
paulhauggisabout 13 years ago
Jquery.<p>In my experience, much more support, plugins, and it's been battle tested pretty well.
peteypaoabout 13 years ago
jQuery is clearly the one being adopted the most. (Something like 90%, at least from what I've heard on a podcast). Why mess with success?