Web Applications with AJAX
page 4 of 7
by Arindam Ghosh
Average Rating: 
Views (Total / Last 10 Days): 36157/ 46


Intuitive and natural user interaction

No clicking required

Mouse movement is a sufficient event trigger

"Partial screen update" replaces the "click, wait, and refresh" user interaction model

Only user interface elements that contain new information are updated (fast response)

The rest of the user interface remains displayed without interruption (no loss of operational context)

Asynchronous communication replaces "synchronous request/response model"

A user can continue to use the application while the client program requests information from the server in the background

Separation of displaying from data fetching Conclusion.

Technologies Used in AJAX


Loosely typed scripting language

Allows programmatic interaction with the browser's capabilities

JavaScript function is called when an event in a page occurs




API for accessing and manipulating structured documents

Represents the structure of XML and HTML documents


Allows for a clear separation of the presentation from the content and may be changed programmatically by JavaScript

Client-side: XMLHttpRequest

JavaScript object

Created within a JavaScript function

Adopted by modern browsers

Mozilla™, Firefox, Safari, and Opera

Communicates with a server via standard HTTP GET/POST

XMLHttpRequest object works in the background

Does not interrupt user operation

Server-Side: AJAX Request Processing

Server programming model remains the same

It receives standard HTTP GETs/POSTs

Can use Servlet, JSP, JSF

With minor constraints

More frequent granular requests from client

Response content type needs to be text/xml

Ajax mind share

Ajax has dominated the web application arena for quite sometime. The one strength Ajax has is that it is based on reliable web standards: The W3C gave us HTML, CSS, XML and DOM, and ECMA giving using JavaScript (or more technically correct EcmaScript). It is a wonderfully natural combination of technologies, especially for people involved in developing and supporting e-commerce applications.

View Entire Article

User Comments

Title: Great Article   
Name: Raul
Date: 2007-05-10 9:38:23 AM
Wonderful article.Easy reading and very interesting and informative
Title: S.E.   
Name: Anil pandey
Date: 2007-04-28 1:10:19 AM
this artiale is realy very intresting. it simplyfies the use of AJAX in our projects
Title: call a serverside method from client site without postback using Ajax   
Name: Ritesh
Date: 2007-03-13 11:03:58 AM
How i will call a serverside method from client site without postback using Ajax ? This is the main use of Ajax which is not described.

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2023 ASPAlliance.com  |  Page Processed at 2023-10-03 11:03:52 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search