Tuesday, September 26, 2006
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:
- The entire page is getting loaded to the server and you have to wait until the whole page is refreshed.
- 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 .
- Easy to use
- Pleasurable to use
- Rich in user interface and
- Faster contrary to the traditional applications
- 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.

