Definition

Ajax (Asynchronous JavaScript and XML)

 Ajax (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. 

Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code.

Content Continues Below

Google Maps is one well-known application that uses Ajax. The interface allows the user to change views and manipulate the map in real time. Ajax applications do not require installation of a plug-in, but work directly with a Web browser. Because of the technique's reliance on XMLHttpRequest, early applications worked only with Microsoft's Internet Explorer browser, but most other browsers now support Ajax.

Applications created with Ajax use an engine that acts as an intermediary between a user's browser and the server from which it is requesting information. Instead of loading a traditional Web page, the user's browser loads the Ajax engine, which displays the page the user sees. The engine continues to run in the background, using JavaScript to communicate with the Web browser. User input or clicking on the page sends a JavaScript call to the Ajax engine, which can respond instantly in many cases. If the engine needs additional data, it requests it from the server, usually using XML, while it is simultaneously updating the page.

Ajax is not a proprietary technology or a packaged product. Web developers have been using JavaScript and XML in combination for several years. Jesse James Garrett of the consultancy firm Adaptive Path is credited with coining the name "Ajax" as a shorthand way to refer to the specific technologies involved in a current approach.

Editors at our sister site, The Ajaxian, blog about Ajax news and trends.

This was last updated in November 2007

Continue Reading About Ajax (Asynchronous JavaScript and XML)

Dig Deeper on Windows Presentation Foundation

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

AJAX stands for Asynchronous JavaScript and XML. AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS, and Java Script.

-Ajax uses XHTML for content, CSS for presentation, along with Document Object Model and JavaScript for dynamic content display.

-Conventional web applications transmit information to and from the sever using synchronous requests. It means you fill out a form, hit submit, and get directed to a new page with new information from the server.

-With AJAX, when you hit submit, JavaScript will make a request to the server, interpret the results, and update the current screen. In the purest sense, the user would never know that anything was even transmitted to the server.

-XML is commonly used as the format for receiving server data, although any format, including plain text, can be used.

-AJAX is a web browser technology independent of web server software.

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

-Intuitive and natural user interaction. Clicking is not required, mouse movement is a sufficient event trigger.

-Data-driven as opposed to page-driven.
Cancel

File Extensions and File Formats

Powered by:

SearchCloudComputing

SearchSoftwareQuality

TheServerSide.com

Close