In a nutshell, AJAX is about making web apps more flexible, interactive, responsive, and more like feature-rich windows programs.
Historically, web apps are scoped at the page level. We are presented with a static page. We enter information, then click the submit button and wait while the entire page is sent to the server. Eventually a new page is displayed and we continue.
Now AJAX promises to make web pages more responsive, more interactive, by exchanging small amounts of data with the server behind the scenes instead of reloading entire web pages each time the user makes a change. Since the transfer is asynchronous, the user sees changes to the web page while they are still typing, without being interrupted.
Ajax manipulates the current page within a user’s web browser using the document object model. It can be used for tasks such as updating or deleting records or returning search queries without having to fetch a full page each time a change is made. In these cases, only small requests and short responses are required, making the web apps seem smoother and more responsive.
The transfer is usually handled by the XMLHttpRequest object created by Microsoft but now implemented by a majority of browsers.
Microsoft’s implementation of Ajax is called ASP.NET AJAX. Microsoft integrates cross-browser client script libraries with the ASP.NET 2.0 development framework. Programmers are provided with a familiar development process and a programming model they already know from using server-side ASP.NET. The inclusion of controls and templates for drag-n-drop development and the tight integration with Visual Studio make it an attractive offering for developers.
They’ll be so impressed.