What is AJAX?

Coccagerman
1 min readAug 19, 2021

--

Ajax (short for “Asynchronous JavaScript and XML”) is a set of web development techniques that uses various web technologies on the client-side to create asynchronous web applications. With Ajax, web applications can send and retrieve data from a server asynchronously (in the background) without interfering with the display and behaviour of the existing page. By decoupling the data interchange layer from the presentation layer, Ajax allows web pages and, by extension, web applications, to change content dynamically without the need to reload the entire page. In practice, modern implementations commonly utilize JSON instead of XML.

Ajax is not a technology, but rather a programming concept. HTML and CSS can be used in combination to mark up and style information. The webpage can be modified by JavaScript to dynamically display — and allow the user to interact with the new information. Ajax is not a new technology, instead, it is existing technologies used in a new way.

In order to make calls to a server and get information from it, technologies such as fetch API (an API built into all major browsers) or AXIOS (a library specially built to make http calls) are normally used.

--

--

Coccagerman
Coccagerman

No responses yet