Learning Progressive Web Apps
by:John M. Wargo
pages 页数：272 pages
Publisher Finelybook 出版社：Addison-Wesley Professional; 1 edition (March 29, 2020)
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.
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 Ofline with Background Sync
6. Push Notifications
7. Passing Data between Service Workers and Web Applications
8. Assessment, Automation, and Deployment
9. Automating Service Workers with Google Workbox