Book description
Use Service Workers to Turbocharge Your Web Apps
“You have made an excellent decision in picking up this book. If I was just starting on my learning path to mastery of Progressive Web Apps, there are not many folks I would trust more to get me there than John.”
—Simon MacDonald, Developer Advocate, Adobe
Software developers have two options for the apps they build: native apps targeting a specific device or web apps that run on any device. Building native apps is challenging, especially when your app targets multiple system types—i.e., desktop computers, smartphones, televisions—because user experience varies dramatically across devices.
Service Workers—a relatively new technology—make it easier for web apps to bridge the gap between native and web capabilities. In Learning Progressive Web Apps, author John M. Wargo demonstrates how to use Service Workers to enhance the capabilities of a web app to create Progressive Web Apps (PWA). He focuses on the technologies that enable PWAs and how to use those technologies to enhance your web apps to deliver a more native-like experience.
Build web apps a user can easily install on their local system and that work offline or on low-quality networks
Utilize caching strategies that give you control over which app resources are cached and when
Deliver background processing in a web application
Implement push notifications that enable an app to easily engage with users or trigger action from a remote server
Throughout the book, Wargo introduces each core concept and illustrates the implementation of each capability through several complete, operational examples. You’ll start with simple web apps, then incrementally expand and extend them with state-of-the-art features. All example source code is available on GitHub, and additional resources are available on the author’s companion site, learningpwa.com.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Table of contents
- Cover Page
- About This eBook
- Half Title Page
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
- 1. Introducing Progressive Web Apps
- 2. Web App Manifest Files
- 3. Service Workers
- 4. Resource Caching
- 5. Going the Rest of the Way Offline with Background Sync
-
6. Push Notifications
- Introducing Push Notifications
- Remote Notification Architecture
- Preparing to Code
- Generating Encryption Keys
- Validating Notification Support
- Checking Notification Permission
- Getting Permission for Notifications
- Local Notifications
- Notification Options
- Subscribing to Notifications
- Unsubscribing from Notifications
- Remote Notifications
- Dealing with Subscription Expiration
- Sending Notifications to Push Services
- Wrap-Up
- 7. Passing Data between Service Workers and Web Applications
- 8. Assessment, Automation, and Deployment
- 9. Automating Service Workers with Google Workbox
- Index
- Credits
- Code Snippets
Product information
- Title: Learning Progressive Web Apps: Building Modern Web Apps Using Service Workers
- Author(s):
- Release date: March 2020
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780136485674
You might also like
video
Progressive Web Apps (PWA) - The Complete Guide
Progressive Web Apps (PWA) are the next big thing in web development as they bring mobile-app-like …
book
Pro Angular: Build Powerful and Dynamic Web Apps
Welcome to this one-stop shop for learning Angular. Pro Angular is the most concise and comprehensive …
book
Angular for Enterprise-Ready Web Applications - Second Edition
Revised and updated second edition of the bestselling hands-on guide to building enterprise-ready web apps using …
book
Building Progressive Web Apps
Move over native apps. New progressive web apps have capabilities that will soon make you obsolete. …