Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Brief description of Ajax

Ajax is Asynchronous process with combination of JavaScript and Xml. It is a magical tool because the process is done within seconds. The main reason for using Ajax is to avoid burden on server. Hence it is a major rule for every programmer and web designer. The main difference between normal page and a page with Ajax come to real time is, in normal the whole page is loaded when action is called, where as in Ajax page particular section is loaded not a whole page.



When come to brief description of Ajax, the process beyond is takes place with two steps that is as follows:

1. Browser to Server.

2. Server to Browser.

1. Browser to Server:
In this, XMLHttpRequest object is created and sends this http request to server and in the server that particular http request is processed and again it sends backs to the browser.

2. Server to Browser.
With continuation of above point, the returned data is processed with JavaScript and in result the data is updated in the webpage.

Coding Action:
Function called for http request process and again that resulted data process with JavaScript.

Over to you.



This post first appeared on Php Source Codes, please read the originial post: here

Share the post

Brief description of Ajax

×

Subscribe to Php Source Codes

Get updates delivered right to your inbox!

Thank you for your subscription

×