AJAX Key Points

AJAX stands for Asynchronous JavaScript And XML.

AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes.

The keystone of AJAX is the XMLHttpRequest object.

All modern browsers(IE7+, Firefox, Chrome, Safari, and Opera)  support the XMLHttpRequest object (IE5 and IE6 uses an ActiveXObject).

The XMLHttpRequest object is used to exchange data with a server behind the scenes.

 

 Applications without AJAX

Normal Web applications communicate with the server by referring to a new URL

Example: When a form is submitted, it is processed by a server-side program, which gets invoked

AJAX applications

Use an object called as XMLHttpRequest object built into the browser, using JavaScript to communicate with the server

HTML form is not needed to communicate with the server.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s