12 Using Modern Web APIs
HTML5 provides web developers with a number of new JavaScript APIs, among other things, that can be used to do all sorts of useful things. In this chapter, we’ll cover a selection of these APIs and show you, for example, alternatives available for communicating with the server, how to store data so that it’s available offline, how to play audio and video files, and how to determine the geographic location of users. All these techniques (and more) allow you to make your web applications even more dynamic and versatile.
You could easily fill whole books with info about web APIs, so in this chapter—although it’s quite a long one—we’ll only introduce a comparatively small selection of the best-known APIs. Specifically, we’ll ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access