Navigation > Home > Services > What Is AJAX

 

What Is Ajax?

AJAX is the technique of making web pages more interactive by using JavaScript to pull updated information from the server and modify the page displayed in the browser on the fly.

Ajax is a way of developing Web applications that combines:

  • XHTML and CSS standards based presentation.
  • Interaction with the page through the DOM.
  • Data interchange with XML and XSLT.
  • Asynchronous data retrieval with XMLHttpRequest.
  • JavaScript to tie it all together.

In the traditional Web application, the interaction between the customer and the server goes like this:

  • Customer accesses Web application.
  • Server processes request and sends data to the browser while the customer waits.
  • Customer clicks on a link or interacts with the application.
  • Server processes request and sends data back to the browser while the customer waits.

Ajax (sometimes called Asynchronous JavaScript and XML) is a way of programming for the Web that gets rid of the hourglass. Data, content, and design are merged together into a seamless whole. When your customer clicks on something on an Ajax driven application, there is very little lag time. The page simply displays what they're asking for. If you don't believe me, try out Google Maps for a few seconds. Scroll around and watch as the map updates almost before your eyes. There is very little lag and you don't have to wait for pages to refresh or reload.

Ajax Acts as an Intermediary:

The Ajax engine works within the Web browser (through JavaScript and the DOM) to render the Web application and handle any requests that the customer might have of the Web server. The beauty of it is that because the Ajax engine is handling the requests, it can hold most information in the engine itself, while allowing the interaction with the application and the customer to happen asynchronously and independently of any interaction with the server.

Asynchronous:

This is the key. In standard Web applications, the interaction between the customer and the server is synchronous. This means that one has to happen after the other. If a customer clicks a link, the request is sent to the server, which then sends the results back. With Ajax, the JavaScript that is loaded when the page loads handles most of the basic tasks such as data validation and manipulation, as well as display rendering the Ajax engine handles without a trip to the server. At the same time that it is making display changes for the customer; it is sending data back and forth to the server. But the data transfer is not dependent upon actions of the customer. (Resources for this article by Wikipedia, the free encyclopedia)

[Top]

Get a repair free price quoto

This site optimization
More…

Visual Solutions offers
Custom Web Site Designs starting at $1000.00

More…

Related Services

Resources

Glossary

SEO and Pay-Per-Click combined together will bring more customers to your doorstep than any other form of online marketing.

Call Today to Discuss Your software installation needs