24
Network Requests and Remote Resources
WHAT'S IN THIS CHAPTER?
- Using the XMLHttpRequest object
- Working with XMLHttpRequest events
- Cross-domain Ajax restrictions
- Fetch API
- Streams API
WROX.COM DOWNLOADS FOR THIS CHAPTER
Please note that all the code examples for this chapter are available as a part of this chapter’s code download on the book’s website at www.wrox.com/go/projavascript4e
on the Download Code tab.
In 2005, Jesse James Garrett penned an online article titled “Ajax: A New Approach to Web Applications”. This article outlined a technique that he referred to as Ajax, short for Asynchronous JavaScript+XML. The technique consisted of making server requests for additional data without unloading the web page, resulting in a better user experience. Garrett explained how this technique could be used to change the traditional click-and-wait paradigm that the web had been stuck in since its inception.
The key technology pushing Ajax forward was...