What is Asynchronous Programming?
- Callbacks
- Promises
- Async/Await
Ajax & XHR Introduction
What is Ajax?
- Asynchronous JavaScript & XML
- Set of web technologies
- Send & Receive data asynchronously
- Does not interfere with the current page
- JSON has replaced XML for the most part
XmlHttpRequest (XHR) Object
- API in the form of an object
- Provided by the browsers JS environment
- Methods transfer data between client/server
- Can be used with other protocols than HTTP
- Can work with data other than XML (JSON, plain text)