joea.dev
Web API Cookbook book cover
O'Reilly • 2024

Web API Cookbook

Level Up Your JavaScript Applications

Practical recipes for working with modern browser APIs to build powerful web applications. This cookbook provides solutions for real-world problems using the latest web platform features, from the Fetch API and Web Storage to Web Components, Intersection Observer, and beyond.

Table of Contents

  1. 1
    Asynchronous APIs Explore fundamental asynchronous JavaScript concepts, including callback functions and Promises.
  2. 2
    Simple Persistence with the Web Storage API Store and retrieve data using persistent storage.
  3. 3
    URLs and Routing Work with the URL and History APIs.
  4. 4
    Network Requests Communicate with remote servers and APIs.
  5. 5
    IndexedDB Learn how to use IndexedDB to store and retrieve large amounts of structured data.
  6. 6
    Observing the DOM Explore how to observe changes in the DOM using MutationObserver, IntersectionObserver, and ResizeObserver.
  7. 7
    Forms Discover how to handle form submissions and input validation using the FormData and Constraint Validation API.
  8. 8
    The Web Animations API Learn how to create and control animations using the Web Animations API.
  9. 9
    The Web Speech API Discover how to add speech recognition and synthesis capabilities to web applications.
  10. 10
    Working With Files Learn how to handle file uploads and downloads using the File API.
  11. 11
    Internationalization Explore how to create internationalized web applications that can be easily localized.
  12. 12
    Web Components Discover how to create reusable custom elements using the Web Components API.
  13. 13
    UI Elements Use dialogs and other interactive elements.
  14. 14
    Device Integration Interact with sensors and services on your device.
  15. 15
    Measuring Performance Capture performance metrics.
  16. 16
    Working With the Console Learn about different ways to present information using the Console API.
  17. 17
    CSS Explore CSS related APIs.
  18. 18
    Media Work with images and video.