JQuery and MooTools work integrated without conflict
Looks like we are finally getting just jquery and removing old mootools as of J!3.3.
Extension developers who still want to use mootools should make sure that they don't cause conflicts and integrate well with the core jquery when they load mootools.
Like Michael said, MT and JQ core would need to be modified to truly "work integrated without conflict" If that's your real desire, you should go talk to JQ and MT to get your request fulfilled.
Michael Hargreaves commented
Jason: I agree with all your points except for the best way to move forward.
If that approach to core scripts is taken then we're free to do what we want with any lib.
Re: MooTools and JQuery working together without noConflict. Thats a strange request as technically it couldn't happen without change to either MT or jQ core so thats not going to ever happen.
Though I'm at a loss to understand why you would choose to include two libs on a page other than being forced to do so?
#1 Performance. Mootools and jquery together have a lot of overhead. Yes it is technically possible to turn mootools off in the front end, but see #2.
#2 3rd parties. Many 3rd parties embraced mootools awhile back when Joomla chose to include it and before jquery became big. But many (if not most) have moved on to jquery... The result is that many different versions of mootools/jquery are included when you install multiple extensions. Embracing the latest version of jquery and encouraging its use will eventually solve this.
#3 easier for newbies to Joomla to get started. As mentioned already, I doubt even 1 in 20 site builders will use mootools.
IMO the best option for now would be to give the option of jquery or mootools on the front end, but default on jquery. Then Joomla will have taken one more small step forward from it's arcane ways ;)
Jayb Carey commented
// Lets Go jQuery
this fixes all your woes....
Thanos Kounenis commented
If I got it right, you can use both jQuery and Mootools... All you need to do is use the .noconfict() function of jquery to override the $ function:
Chris Williams commented
This is always a problem - but it's also fault of the extension developers for not designing in a choice of Mootools or JQuery. Provide JQuery and Mootools out of the box and this will help, and also help educate devs