Learning Progressive Web Apps
Wargo, John M.
- 出版商: Addison Wesley
- 出版日期: 2020-03-19
- 售價: $1,500
- 貴賓價: 9.5 折 $1,425
- 語言: 英文
- 頁數: 272
- 裝訂: Quality Paper - also called trade paper
- ISBN: 0136484220
- ISBN-13: 9780136484226
立即出貨 (庫存 < 3)
Developers building apps targeting desktops, laptops, smartphones, and tablets have two options to use when building their apps: native apps built specifically for the target platform, or web apps, which run on most any system. Building native apps for any target platform is a time-consuming and expensive proposition, especially when your app targets multiple system types (desktop computers, smartphones, televisions, etc.).
Web apps are challenging because a user experiences vary dramatically depending on which type of system the user accessed the app from. Desktop browsers are fully capable, but mobile device browsers have limitations due to reduce screen real estate, processor speed, network bandwidth, and more. Many of these limitations have disappeared, but there's still considerable disparity between native app and web app capabilities.
Over the years, web browsers, especially those running on mobile devices like smartphones and tablets, exposed more native capabilities to web apps. This enables web apps to work more like native apps, but there were still limitations. Service Workers are a relatively new technology that make it easier for web apps to bridge the gap between native and web capabilities, removing many limitations from web apps.
This is a book about Service Workers, focusing on how to use Service Workers to enhance the capabilities of a web app to create a Progressive Web App (PWA). This book focuses on the technologies enabling PWAs, and how to use them to enhance your web apps to deliver a more native-like experience.
Learning Progressive Web Apps is the first of a new generation of PWA guides that reflect breakthrough advances such as Service Workers and Web App Manifests, helping you combine the best features of web and mobile development. One step at a time, John M. Wargo introduces techniques for building apps, highlighting
- Building web apps a user can easily install on their local system
- Building web apps that work offline or on low quality networks
- Implementing caching strategies that give web developers control over which app resources are cached and when
- Delivering background processing in a web application
- Implementing push notifications to enable an app to more easily engage with users or trigger action from a remote server
As you work through the chapters, at different points you'll start with one of three complete, stand-alone web apps, then convert them into PWAs using service workers and other browser technologies.
Wargo clearly introduces each core concept and illustrates the implementation of each capability through 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 will be available through the author's site, learningpwa.com.
John M. Wargo is a product manager, software developer, writer, presenter, father, husband, and geek. He spent more than 30 years working as a professional software developer, first as a hobbyist, then in enterprise software, and finally, for the last 15 years, in mobile development. He is the author of six books on mobile development and was a long-time contributor to the open-source Apache Cordova project. By day, he's a principal program manager on the App + Cloud Experiences team at Microsoft. His website is johnwargo.com.