Internet
Fact-checked

At EasyTechJunkie, we're committed to delivering accurate, trustworthy information. Our expert-authored content is rigorously fact-checked and sourced from credible authorities. Discover how we uphold the highest standards in providing you with reliable knowledge.

Learn more...

What is AJAX?

Brendan McGuigan
Brendan McGuigan

AJAX is a term used to describe an approach to designing and implementing web applications. It is an acronym for Asynchronous JavaScript and XML. The term was first introduced in an article by Jesse James Garrett of Adaptive Path, a web-design firm based out of San Francisco. He conceived of the term when he realized the need for an easy, sellable way to pitch a certain style of design and building to clients.

The primary purpose of AJAX is to help make web applications function more like desktop applications. HyperText Markup Language (HTML), the language that drives the World-Wide Web, was designed around the idea of hypertext – pages of text that could be linked within themselves to other documents. For HTML to function, most actions that an end-user takes in his or her browser send a request back to the web server. The server then processes that request, perhaps sends out further requests, and eventually responds with whatever the user requested.

Man holding computer
Man holding computer

While this approach may have worked well in the early days of the Internet, for modern web applications, the constant waiting between clicks is frustrating for users and serves to dampen the entire experience. Users have become accustomed to blazing-fast responses in their desktop applications and are unhappy when a website can’t offer the same immediate response. By adding an additional layer between the user interface and the communication with the server, AJAX applications remove a great deal of the lag between user interaction and application response. As AJAX becomes more common in popular web applications, users become more and more accustomed to this immediate response, helping to drive more businesses to adopt AJAX methodologies.

An AJAX application consists of a number of applications used in conjunction to create a more seamless experience. This includes Extensible HTML (XHTML) and Cascading Style Sheets (CSS) for building the underlying page structure and its visual style, respectively; some sort of interaction suite using the Document Object Model; data manipulation using Extensible Markup Language (XML); data retrieval using XMLHttpRequest; and JavaScript to help these different elements interact with one another. AJAX is spreading quickly throughout the web, with examples visible at many major sites. Google Maps, for example, in many ways epitomizes the ethos of the AJAX model, with its complex functionality and virtually seamless interactivity.

Like most emerging philosophies of web development, AJAX has its share of detractors. One commonly leveled argument against AJAX is that in many cases it breaks some expected functionality, such as the use of the Back button, causing confusion. While some fixes exist for many of these breaks, they are rarely implemented to the extent that the behavior of an AJAX application conforms to the expected behavior of the larger browser.

Discussion Comments

mitchell14

@anon87148, so did I, at least I thought the product was also all in capitals. Oops for both of us, I guess. There are just so many acronyms in the internet world, it is hard to know what anything means anymore.

anon87148

I thought you meant the product Ajax and just mistakenly wrote the word in capital letters!

Post your comments
Login:
Forgot password?
Register:
    • Man holding computer
      Man holding computer