- Asynchronous JavaScript & XML
- Set of web technologies
- Send & Receive data asynchronously
- Doesn’t interfere with the current page
- JSON has replaced XML for the most part
- Make async request in the background
- No page reload / refresh
- Fetch data
- Very interactive
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)
Libraries & Other Methods
- Fetch API – ( Suggested, part of Vanilla JavaScript)
- Axios
- Superagent
- jQuery -( Not suggested for ajax, complete DOM manipulation library )
- NodeHTTP
Reader Interactions
Leave a Reply