How AJAX works

Google Advertisements

What is Ajax Uses of Ajax

Working of Ajax

Ajax communicates with the server by using XMLHttpRequest Object. User send request from User Interface and JavaScript call goes to the XMLHttpRequest Object after that XMLHttp request is sent to the XMLHttpRequest Object. At that time server interacts with the database using php, servelet, etc. The data is retrieved then the server sends data in the form of XML or Jason data to the XMLHttpRequest Callback function. Then HTML and CSS displayed the Data on the browser. These all above process we discuss in point by point format for better understanding.

Working of ajax

Working of Ajax

  • User sends a request from the UI and a javascript call goes to XMLHttpRequest object.
  • HTTP Request is sent to the server by XMLHttpRequest object.
  • Server interacts with the database using JSP, PHP, Servlet, etc.
  • Data is retrieved.
  • Server sends XML data or JSON data to the XMLHttpRequest callback function.
  • HTML and CSS data is displayed on the browser.

In Ajax model, there is an Ajax engine involved in between the user and the server, which eliminates the to and fro from the user to the server and back. This Ajax engine is written in JavaScript and is in a hidden frame. It handles the user front by communicating to the user as well as handles the server front by itself. This way, the end user barely faces a waiting period.

What is Ajax Uses of Ajax

Google Advertisements

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on: or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements

Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: or 8076671483 Try this Keyword C++ Programs