Ajax Tutorial

Ajax

  • AJAX stands for Asynchronous JavaScript And XML.
  • It is used to create fast and dynamic webpages.
  • It provides the facility to update parts of a web page, without reloading the whole page.
  • It is not used independently, but it works with javascript, XHTML and  CSS and XML.
  • Its applications are browser and platform independent.

Applications using Ajax

  • Google search engine.
  • Google Maps.
  • Gmail.
  • Youtube.
  • Facebook tabs.

Advantages of Ajax

  • Ajax helps to improve user interaction with application.
  • Ajax allows data buffering, which increases the speed of the application and reduces the wait time for the user.
  • Refreshing the page is not necessary in Ajax which improves the bandwidth of an application.
  • Dynamic filtering is possible using Ajax.
  • Ajax supports execution of long time queries.

Drawbacks

  • The web page cannot connect with the browser history engine, if the data and format is not specific.
  • It is necessary to test Ajax-JavaScript based applications to be tested on different browsers.