MooTools and JQuery Side by Side

ZZ Coder picture ZZ Coder · Oct 2, 2009 · Viewed 7k times · Source

I just inherited some web pages which uses MooTools. I never used MooTools. Now I need to add some functions on the page, I wonder if it's a good idea to use jquery and mooTools on the same page?

Basically, I have 3 options,

  1. Convert the pages to JQuery, which I have to learn MooTools to do that.
  2. Write new functions in MooTools. I have to learn even more MooTools to achieve this.
  3. Use both on the page.

Your opinion will be appreciated.

Answer

rball picture rball · Oct 2, 2009

Opinion: Learn MooTools and then move on with it. Sounds like a great opportunity to learn something new. Why introduce an entirely new library with addition js bloat if you don't need to. If it'll solve the problem you're golden.