AJAX Evolution and Application in Magento Extensions

aheadWorks always delivers to customers the best and the most advanced technologies in its extensions and themes.  Magento is a source-consuming platform, so using AJAX technology in functional Magento extensions allows saving server resources and reduces site response time.  We have several AJAX-using modules in our portfolio (twenty, to be precise). Some of them are fully AJAX-based and the others simply include features that use AJAX technologies.

AJAX-based modules

What is AJAX?

It is an abbreviation of Asynchronous JavaScript and XML.  According to Wikipedia AJAX is a group of interrelated web development techniques used on the client-side to create asynchronous web applications.

AJAX provides asynchronous updates of small pieces of web pages content. It allows avoiding excessive server bandwidth and makes updates invisible for users. Actually it updates page content without page reloads.

History of AJAX

The term AJAX appeared in 2005. Jesse James Garrett came up with it in her article “Ajax: A New Approach to Web Applications”. However, the history of AJAX starts a little bit earlier.

In 1996, Internet Explorer introduced iframe tag for asynchronous content updates. The first component XMLHTTP by client script was implemented in 1998 by Microsoft. In 1999, Microsoft used iframe for dynamical updates of news, stories and stock quotes on default Internet Explorer page. The perspectives of this technology were rather unclear until 2004 when Google implemented cross-browser AJAX in its Gmail service and Google Maps service in 2005. 2005 is noted as AJAX rising and wide spread in development practice.

AJAX’s nature, history and functionality description given above will help us understand the advantages of this technology utilized in aheadWorks extensions.

There are several most common ways we use AJAX in our modules.

1.    Firstly, we create AJAX-based carts. This feature allows customers add their purchases to cart without redirection to the cart page. In this case the cart appears in a pop-up and customers can proceed with purchasing without any retention. This feature is included into iPhone Theme, for instance, in the Minimum Advertised Price extension and in AJAX Cart Pro.

2.    Quick and seamless content update based on AJAX is implemented in several solutions of ours. Some of our modules use AJAX for price changing without any page reload, e.g. Booking and Reservations, Shipping Price, Product Color Swatches.

3.    We also use AJAX layer in multiple subscription forms for guests and customers. (AJAX Login Pro, Product Updates Notifications, Advanced Newsletter).

4.    AJAX technology is used for any dynamic content prompt changes. And variations are multiple.

AJAX technology, due to its internal properties, is widely spread in development practices. It is often helps to improve user satisfaction and take user experience to the next level. AJAX and some other techniques entered Web 2.0 era in World Wide Web and converted users from unmotivated observers into active participants of the process.

We try to use AJAX in all those cases when it is justified by functional needs and our practice indicates that AJAX-based features always successfully improve functionality of any extension.

No Comments

Leave a Comment

Please be polite. We appreciate that.
Your email address will not be published and required fields are marked