What is Ajax?

Asynchronous JavaScriptâ„¢ and XML (Ajax) refers to a group of technologies that are used to develop Web applications. By combining these technologies, Web pages appear more responsive since small packets of data are exchanged with the server and Web pages are not reloaded each time a user makes an input change. Ajax allows a Web application user to interact with a Web page without the interruption of constant Web page reloading. Web site interaction happens quickly with only portions of the page reloading and refreshing.

Ajax is made up of the following technologies:

Ajax incorporates these technologies to create a new approach to developing Web applications.

Ajax defines a method of initiating client to server communication without page reloads. It provides a way to enable partial page updates. From a Web page user perspective, this means improved interaction with a Web application giving the user more control of their environment similar to a desktop application.

In a traditional Web application, HTTP requests, that are initiated by the user's interaction with the Web interface, are made to a Web server. The Web server processes the request and returns an HTML page to the client. During HTTP transport, the user is unable to interact with the Web application.

In an Ajax Web application, the user is not interrupted in interactions with the Web application. The Ajax engine or JavaScript interpreter allows the user to interact with the Web application independent of HTTP transport to and from the server by rendering the interface and handling communications with the server on the user's behalf.

 

Ajax limitations

While Ajax is a Web application development technique that is designed to make Web pages more responsive and interactive with a user, Ajax has some limitations that should be considered before developing an Ajax-based application. The following limitations are some of the more prominent disadvantages:

 

Related tasks

Configuring the AJAX proxy

Aggregating content from different sites

Creating Rich Internet Applications (RIA)

Creating dynamic display