
|
AJAX (Asynchronous JavaScript and XML), or Ajax, is a group of inter-related web development techniques used for creating interactive web applications. A primary characteristic is the increase in responsiveness and interactiveness of web pages, when a user makes a small change the request can be done “behind the scenes” where the whole page does not have to be reloaded each time. AJAX is asynchronous in that extra data is requested from the server and loaded in the background without interfering with the display and behaviour of the existing page. JavaScript is the scripting language in which AJAX function calls are usually made. Data is retrieved using the XMLHttpRequest (or equivalent) object that is available to scripting languages run in modern browsers. There is, however, no requirement that the asynchronous content be formatted in XML. AJAX is a cross-platform technique usable on many different operating systems, computer architectures, and web browsers as it is based on open standards such as JavaScript and the DOM. Like DHTML, LAMP, and Ajax is not a technology in itself, but a term that refers to the use of a group of technologies. The "core" and defining element of Ajax is the XMLHttpRequest object, which gives browsers the ability to make dynamic and asynchronous data requests without having to reload a page, eliminating the need for page refreshes. Besides XMLHttpRequest, the use of DOM, CSS, and JavaScript provides a more-enhanced "single-page" experience. The core jusThe core justification for Ajax style programming is to overcome the page loading requirements of HTML/HTTP-mediated web pages. Ajax creates the necessary initial conditions for the evolution of complex, intuitive, dynamic, data-centric user interfaces in web pages—the realization of that goal is still a work in progress. Some uses for Ajax interactions are the following
|