AJAX

acronym

web dev

Stands for: Asynchronous JavaScript and XML

A technique for updating a web page without a full reload.

Asynchronous JavaScript and XML refers to making background HTTP requests from a page and updating it in place. The name predates JSON, which has largely replaced XML as the payload, but the term stuck for in-page dynamic requests.

AJAX named the technique of fetching data in the background and updating part of a page without a full reload. The name is a period piece, since it specifies XML and almost everything now uses JSON, but the shift it described was fundamental: pages became applications.

Everything since inherits both the capability and its costs. Browser history, bookmarking and the back button all stop working unless the application explicitly manages them, screen readers need to be told the page changed, and content that never appears in the initial HTML is invisible to anything that does not execute JavaScript. Those are the same trade-offs single-page applications still make, which is why the term is dated and the consequences are not.

Also known as: ajax

Sources

All glossary entries