AJAX - A New Approach To Web Applications PDF
AJAX - A New Approach To Web Applications PDF
Defining Ajax
Ajax isnt a technology. Its really several technologies, each flourishing in its own
right, coming together in powerful new ways. Ajax incorporates:
The classic web application model works like this: Most user actions in the interface
trigger an HTTP request back to a web server. The server does some processing
retrieving data, crunching numbers, talking to various legacy systems and then
returns an HTML page to the client. Its a model adapted from the Webs original use
as a hypertext medium, but as fans of The Elements of User Experience know, what
makes the Web good for hypertext doesnt necessarily make it good for software
applications.
This approach makes a lot of technical sense, but it doesnt make for a great user
experience. While the server is doing its thing, whats the user doing? Thats right,
waiting. And at every step in a task, the user waits some more.
Obviously, if we were designing the Web from scratch for applications, we wouldnt
make users wait around. Once an interface is loaded, why should the user interaction
come to a halt every time the application needs something from the server? In fact,
why should the user see the application go to the server at all?
Figure 1: The traditional model for web applications (left) compared to the Ajax
model (right).
makes those requests asynchronously, usually using XML, without stalling a users
interaction with the application.
Reference: http://www.adaptivepath.com/publications/essays/archives/000385.php
Thanks,
Shelly
has notified the sender that this message has been received.