Thursday, March 13, 2008

Ajax An Overview

AJAX is a cross-platform technique that can be use on different operating system and web application based on JavaScript and DOM. It is a powerful approach of web application technique using client-side scripting to exchange data with the web server. This means that with AJAX, web pages increases interactivity and faster responsiveness of user interface by having an independent communication with the server. Gone are the traditional ways of web browsing whereby a new page communicates with each user's request. This creates dynamic web application user interface that renders effective usability of every desktop applications. AJAX primary purpose is to increase the web page's interactivity, speed, functionality, and usability.

Ajax, by definition, is not technology. In fact, it is an application of several technologies. Ajax incorporates several existing web application like XHTML and CSS for standard-based presentation; the Document Object Model for dynamic display and interaction; XML and XSLT for data interchange between the server and the client; the XMLHttpRequest to exchange asynchronous data with the web server; and the use of JavaScript as the core code for running AJAX application.

To understand AJAX, first we must know how the traditional web application works. The classic web interface trigger an HTTP request back to web server. The server then process and retrieve data before returning an HTML page to the users. This process as a model for hypertext medium makes technical sense. But as web application evolves this process does not make the user interface more interactive and practical.

AJAX, on the other hand, eliminates this problem. AJAX speed up the loading of any web application with the use of intermediary between the user and the server called AJAX engine. This adding of another layer application of eliminates the start-stop-start-stop nature on the web. The browser loads an AJAX engine at the start of session.

The AJAX engine allows the user interface and the application to interchange data asynchronously-independent of the communication to the server. So the interaction between the user and the web never slows down, no point of waiting for the server to do something.

AJAX is a powerful technique that grows exceedingly as web application. That is, AJAX is now part of the guiding principle as web 2.0 flourishes and become a practical reality. With the power of AJAX, many of the business and marketing web site are integrated with AJAX application server platform now. Most of the major products of Google such as Gmail, Google Maps, and Google Suggest are employing AJAX application. Other web services like the photo-sharing application Flickr, Amazon's A9.com, and the new Yahoo! maps depends on AJAX. The application of AJAX comes from simple function to the most complex program like Google Maps.

No comments: