AJAX

AJAX

AJAX stands for from Asynchronous JavaScript And XML.
It’s not a programming language but rather corresponds to a set of techniques using various technologies to send and retrieve date to and from a server asynchronously, meaning without having to reload the whole page.

At the begining, AJAX used the following technologies that gave it its name :
-XML for data exchange with the server.
-XMLHttpRequest object for asynchronous communication.
-JavaScript to display dynamically and allow the user to interact with new information.
-HTML and CSS for the presentation of data.

Nowaday, XML has been largely abandoned in favor of JSON (JavaScript Object Notation) which is a notation that allows dat to be exchanged in a relatively simple way while the XMLHttpRequest object is slowly giving way to the new Fetch API.

AJAX is today a generic term used to designate any client side technique( browser side) allowing to send and retrieve data from a server and dynamically update the DOM without require a complete refresh of the page.

If you don’t get it all and need a visual or example, check the w3schools link below, there are some example that will allowed you to understand clearly what it is and how it works !


Sources :
https://www.w3schools.com/js/js_ajax_intro.asp
https://developer.mozilla.org/fr/docs/Web/Guide/AJAX
https://www.pierre-giraud.com/javascript-apprendre-coder-cours/introduction-ajax/


Jason Castella

0
0

Laisser un commentaire