The Joomla! Community Magazine™

Convert JavaScript from MooTools to jQuery

Written by | Monday, 01 July 2013 00:00 | Published in 2013 July
Joomla is using MooTools as the standard JavaScript framework starting from version 1.6. This has made it to be used heavily throughout the project. In Joomla version 3.0 it introduced Twitter Bootstrap and jQuery to the core code as a front-end framework. 
Convert MooTools to jQuery Convert MooTools to jQuery

Keeping both side-by-side is not recommended, but currently both MooTools and jQuery are used within the CMS, which occasionally causes conflicts with user's JavaScript functionality. The goal of this project is to reduce the dependency of Joomla on MooTools by converting its core JavaScript behaviors from MooTools to jQuery and JavaScript with minimal effect for existing websites, extensions and ongoing work keeping backward compatibility.

Hello everyone, I'm Ashan Fernando living in the wonderful island of Sri Lanka. Currently I'm a graduate student having BSc (hons), in Computer Science & Engineering from University of Moratuwa, Sri Lanka and following MSc degree in Software Architecture from the same University. I started developing software several years back, even before going to high school and continued since then as one of my hobbies.

I have been using Joomla for quite a long time as a user but recently became involved in development as a part of Google Summer of Code 2013. I was really impressed by the feedback received from the community in student discussions in order to get a better understanding of the project. This really influenced me to contribute back to Joomla.

Converting MooTools to JQuery in Joomla affects the entire CMS. As a result of the project I would like to see the conversion works transparently for existing functionality and solves the problems of conflicts which causes by keeping MooTools and jQuery side by side. I have been working with JavaScript for quite a long time in range of projects. When I saw Google Summer of Code 2013 proposals posted by Joomla that contained a JavaScript related project, I was really interested since it best suits my skills.

Read 10246 times
Tagged under Google Summer of Code, English
Ashan Fernando

Ashan Fernando

I'm a graduate student having BSc (hons), in Computer Science & Engineering from University of Moratuwa, Sri Lanka and currently following MSc degree in Software Architecture from the same University. I got selected for GSoC2013 with Joomla! and currently working on MooTools to JQuery project.