close

AJAX enables a dynamic, asynchronous Web experience without the need for page refreshes. It incorporates the following technologies:

  • XHTML and CSS provide a standards-based presentation.
  • Document Object Model (DOM) provides dynamic display and interaction.
  • XML and XSLT provide data interchange and manipulation.
  • XMLHttpRequest provides asynchronous data retrieval.
  • JavaScript binds everything together.

The core of AJAX technology is a JavaScript object: XMLHttpRequest. This object is supplied through browser implementations — first through Internet Explorer 5.0 and then through Mozilla-compatible browsers.

XMLHttpRequest

With XMLHttpRequest, you can use JavaScript to make a request to the server and process the response without blocking the user. As you create your Web site and use XMLHttpRequest to perform screen updates on the client’s browser without the need for refresh, it provides much flexibility and a rich user experience. Examples of XMLHttpRequest applications include Google’s Gmail service, Google’s Suggest dynamic lookup interface, and the MapQuest dynamic map

Read the rest of the tutorial on how to build a sample AJAX application.

This article of mine was first published by IBM DeveloperWorks.All rights retained by IBM and the author.

Tags : AJAXtutorialWeb 2.0
Navveen

The author Navveen