Web API Cookbook
Level Up Your JavaScript Applications
by Joe Attardi
Leverage the powerful APIs built into modern web browsers to add advanced capabilities to your JavaScript applications.
Also available at Barnes & Noble O'Reilly Apple Books Google Play Books
Contents
- Chapter 1
Asynchronous APIs
Explore fundamental asynchronous JavaScript concepts, including callback functions and Promises.
- Chapter 2
Simple Persistence with the Web Storage API
Store and retrieve data using persistent storage.
- Chapter 3
URLs and Routing
Work with the URL and History APIs.
- Chapter 4
Network Requests
Communicate with remote servers and APIs.
- Chapter 5
IndexedDB
A more sophisticated data store which can store collections of objects.
- Chapter 6
Observing the DOM
Listen for changes to DOM elements and their structure.
- Chapter 7
Forms
Enhance your forms with the FormData and Constraint Validation APIs.
- Chapter 8
The Web Animations API
Apply keyframe animations to elements programmatically.
- Chapter 9
The Web Speech API
Add voice synthesis and recognition to your apps.
- Chapter 10
Working with Files
Read and write file data.
- Chapter 11
Internationalization
Explore the internationalization APIs built in to the browser.
- Chapter 12
Web Components
Create custom HTML elements.
- Chapter 13
UI Elements
Use dialogs and other interactive elements.
- Chapter 14
Device Integration
Interact with sensors and services on your device.
- Chapter 15
Measuring Performance
Capture performance metrics.
- Chapter 16
Working With the Console
Learn about different ways to present information using the Console API.
- Chapter 17
CSS
Explore CSS related APIs.
- Chapter 18
Media
Work with images and video.
- Chapter 19
Closing Thoughts
Some parting wisdom and a look ahead at future browser technologies.