2 minutes reading time (317 words)

Convert JavaScript from MooTools to jQuery

Convert JavaScript from MooTools to jQuery

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. 

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.

0
Post your Haikus for July
Module Modernization
 

Comments

Already Registered? Login Here
No comments made yet. Be the first to submit a comment

By accepting you will be accessing a service provided by a third-party external to https://magazine.joomla.org/