General - GradedJestRisk/web-training GitHub Wiki
XHR: XML Http Request is an API in the form of an object whose methods transfer data between a web browser and a web server.
Despite the name, XHR can be used with
- protocols other than HTTP, eg.
- data format other than XML, eg JSON.
Ajax : Asynchronous JavaScript and XML is a set of web development techniques using many web technologies on the client side to create asynchronous web applications.
Web applications can send and retrieve data from a server asynchronously without interfering with the display and behavior 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.
Despite the name, AJAX can be used with
- JSON instead of XML.