Tuesday, September 26, 2006

# posted by admin @ 1:56 PM
 

What is AJAX?

What is AJAX?
“The technologies which have had the most profound effect on human life are usually simple.” – Freeman Dyson (English Physicist)
The quest for simplicity sometimes leads to some complex but very useful inventions. Let’s for instance have a look at two different approaches to perform the same task. Suppose you are visiting a website and want to get yourself register there by filling a web form. You enter all your information in the web form and submit your request to the server. Suddenly you realize that some of the information you have put into the form is wrong and you have to edit it. You edit that particular section and again send it to the server. Now your request can be processed in two ways:
  1. The entire page is getting loaded to the server and you have to wait until the whole page is refreshed.
  2. Request is sent to the server only for the data that is needed, not the whole page.
Need not to say that the second approach is far simpler, more interactive and takes less time to perform the same task. The technique that is used to facilitate this process is known as AJAX.
AJAX which stands for ‘Asynchronous JavaScript and XML’ is not a new technology; it is rather a blend of several existing technologies, that are used in different ways to develop highly interactive systems that are richer in user experience.
AJAX is used to deliver the applications that are:
  • Easy to use
  • Pleasurable to use
  • Rich in user interface and
  • Faster contrary to the traditional applications
AJAX applications use the following technologies:
  • XML data source
  • XSLT to transform data into HTML quickly
  • XMLHttpRequest to perform asynchronous request for data
  • Java Script, HTML and DHTML to display data on the web page.
AJAX applications deliver a vast improvement in responsiveness and usability. In every domain, a satisfying high quality customer experience translates into better business. Quality builds reputation, brands and a loyal base of appreciative customers. In an era when the web is being used as the primary vehicle for the delivery of networked applications and when all the private and public sector organizations serve their customers online, the interface to those systems should be worthy of the products and the services they represent and AJAX is definitely the right step in this direction.