Mootools Or JQuery

Author Topic: Mootools Or JQuery  (Read 5454 times)

Offline james_ashbyTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 1
  • Posts: 101
  • Karma: 3
  • I Love Big Cats
Mootools Or JQuery
« on: 06-10-2010, 07:52:33 »
Which one should I use for my upcoming projects ? I don't want to code the javascript directly so using a framework is definitely the way I want to go, but which one is most used and most popular ?

I've heard JQuery is the one to go for but MooTools has some excellent features ? What do you all use ?



Offline Conet

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 0
  • Posts: 17
  • Karma: 1
Re: Mootools Or JQuery
« Reply #1 on: 06-10-2010, 10:54:54 »
Both libraries are fairly easy to use, but their respective ways of selecting and performing actions are a bit different
it will really depend on how you view things when you code, for me, the chainability of jquery struck a chord

i would suggest doing something fairly simple in both, and see which feels better for you
everything from looking through tutorials, apis, etc, to accomplish the task should give you a good idea of what you are in for

the only thing i would tout for one over the other would be jquery’s community, which has been fantastic every step of the way in my experience

You can see comparison of JavaScript frameworks here:

http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks [nofollow]
 

Offline ivan

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 3
  • Posts: 44
  • Karma: 1
Re: Mootools Or JQuery
« Reply #2 on: 01-23-2012, 15:07:38 »
I tried Prototype and Scriptalicious before I moved over to jQuery and their UI library. I think jQuery is the Kohana of the JS framework world - always changing!
jQuery FTW

Offline TomClarke

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 52
  • Posts: 865
  • Karma: 0
  • Gender: Male
    • Custom Writing Service & Content Marketplace
Re: Mootools Or JQuery
« Reply #3 on: 04-19-2016, 03:25:35 »
JQuery focuses on expressiveness, quick and easy coding, and the DOM while MooTools focuses on extension, inheritance, legibility, reuse, and maintability. If you put those two things on opposite sides of a scale, The jQuery side translates into somerhing with which its easy to get started and see quick results but can turn into code that is harder to reuse and maintain, while the MoonTools side takes longer to learn and requires you to write more code upfront before you see results, but afterwards is more reusable and more maintainable.
Your ideas, our writings - Writology.com

Offline Elena_L

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 5
  • Karma: 0
  • Gender: Female
  • Passion on Advanced Technologies. Always motive to
    • Mindmajix Technology, INC
Re: Mootools Or JQuery
« Reply #4 on: 03-01-2018, 00:10:38 »
Which one should I use for my upcoming projects ? I don't want to code the javascript directly so using a framework is definitely the way I want to go, but which one is most used and most popular ?

I've heard JQuery is the one to go for but MooTools has some excellent features ? What do you all use ?

You can modify joomla code :

go to :

libraries/joomla/html/html/behaviour.php

Search where the mootools is loaded .

Add an IF/ELSE :

ex:

$component = JRequest::getVar("option");
//xmap does not support Mootools 1.2
if($component == "com_xmap") {
   JHTML::script('jquery.js', 'media/system/js/', false);
 }
Elena Lauren (Having expertises on ETL (Clover ETL, SSIS, Pentaho, Talend), Datavisualization (SSRS, Power BI) at Mindmajix


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2799 Views
Last post 09-20-2011, 03:33:55
by Walalayo
0 Replies
1471 Views
Last post 11-18-2011, 02:22:35
by manvbf
0 Replies
1507 Views
Last post 11-30-2011, 02:38:58
by hufujiyu