jQuery / MooTools - can select between (as option in the backend).
option in the back-end - it bad idea ... think better will be if joomla! will load the js framework depending on what for a extensions/templates
I think that it 's important!
you're on the right trck yes, although what is REALLY needed for joomla is a way of setting all jquery / mootools locations, like directing all the files to google's jquery online repository. joomla needs a solution for multiple jquery instances which creates most of the display issues and errors in joomla if you've got multiple modules/plugins that uses jquery and mootools..
Slava Aliev commented
Yes! I use only jQuery for all my projects. +3
La mayoría de extensiones usan Jquery... esto genera problemas de rendimiento al cargar 2 librerías y genera conflictos de JS. Esto es algo que se debería solucionar, creo que lo lógico sería usar el framework prerido por los desarrolladores...
Александр Кубинцев commented
mootools is odd for me
please switch to jquery
Michael Hargreaves commented
AdminRouven Weßling (Admin, Joomla!) commented
Konstantinos, I think you're describing the Joomla 1.5 situation. Joomla 2.5 ships with the newest MooTools version (1.4) and the update to 1.4.5 is in 2.5.4. The version we ship is backwards compatible all the way back to 1.2.
Loading two different MooTools version almost guarantees that you break something, they can't coexist. I haven't seen a Joomla 2.5 extension that loads their own MooTools version.
Typical paradigm of mootools problem:
1)mootools loads 1 time due to template design
2)loads 2 -3 other times due to modules - components
3)All this with different mootools versions in each time
Result: all hell breaks loose.
Mootools is old, and getting to know something else is not a bad thing. Joomla should deal with this problem and coders should implement in new frameworks, or at least warn that their products play only in one of those two, or conflicts badly when these two frameworks meet in the same site. Mootools is the reason we read "Sorry our product is working fine, but something else in your site bothers it, so go figure it yourself." in support forums, which is most anoying.
jquery me facilitado mucho..... no quiero aprender mootols
JQuery is a messy framework with bad performance and a great marketing department. No thanks
Just let people decide which one to use and everyone will be happy.
3 votes for jQuery.
Erick B commented
JQuery id sthe best ? I am for it
Deepak Singh Kushwah commented
JQuery is the best JS framework which I have used.
jQuery is taking over the web and thats all I need to know.
WordPress, Drupal, PrestaShop and most other up-trending
open source projects are jQuery based.
'Carlos Devia commented
The trends, the news, the usage are good indicators.
Jquery (10043) Repositories
Mootools (1041) Repositories
1000% more repositories, developers, plugins, etc.
Mootools was good at the time it was selected, but we have to accept Jquery is becoming the default library.
That chart shows the *search volume*, not quality or usage or fitness. It could as well be used as a proof for better documentation of MooTools - one does not need a search engine to find information. So the chart does not tell us anything meaningful.
'Carlos Devia commented
Mootools is dead. Let's go with Jquery. http://www.google.com/trends?q=mootools%2C+jquery