Learning Progressive Web Apps
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Learning Progressive Web Apps
Learning Progressive Web Apps

Learning Progressive Web Apps


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

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:
Foreword xi Preface xii Acknowledgments xv About the Author xvi Chapter 1: Introducing Progressive Web Apps 1 First, a Little Bit of History 2 PWAs Are . . . 2 Making a Progressive Web App 4 PWA Market Impact 6 PWAs and App Stores 7 Wrap-Up 7 Chapter 2: Web App Manifest Files 9 Save to Home Screen 11 Making a Web App Installable 16 Anatomy of a Web App Manifest 17 Controlling the Installation Experience 26 Preparing to Code 27 App Installation in Action 29 Troubleshooting 41 Manifest Generation and More 42 Wrap-Up 42 Chapter 3: Service Workers 43 PWA News 43 Introducing Service Workers 44 Preparing to Code 46 Registering a Service Worker 52 Service Worker Scope 60 The Service Worker Lifecycle 60 Wrap-Up 66 Chapter 4: Resource Caching 67 Service Worker Cache Interface 67 Preparing to Code 69 Caching Application Resources 70 Implementing Additional Caching Strategies 91 Wrap-Up 98 Chapter 5: Going the Rest of the Way Offline with Background Sync 99 Introducing Background Sync 100 Offline Data Sync 103 Choosing a Sync Database 105 Preparing to Code 110 Enhancing the PWA News Application 111 Wrap-Up 128 Chapter 6: Push Notifications 129 Introducing Push Notifications 129 Remote Notification Architecture 132 Preparing to Code 134 Generating Encryption Keys 134 Validating Notification Support 138 Checking Notification Permission 138 Getting Permission for Notifications 139 Local Notifications 142 Notification Options 144 Subscribing to Notifications 148 Unsubscribing from Notifications 154 Remote Notifications 156 Dealing with Subscription Expiration 162 Sending Notifications to Push Services 162 Wrap-Up 164 Chapter 7: Passing Data between Service Workers and Web Applications 165 Preparing to Code 166 Send Data from a Web App to a Service Worker 167 Send Data from a Service Worker to a Web App 169 Two-Way Communication Using MessageChannel 171 Wrap-Up 180 Chapter 8: Assessment, Automation, and Deployment 181 Assessing PWA Quality Using Lighthouse 181 Preparing to Code 182 PWABuilder 190 PWAs and the Microsoft Store 202 Wrap-Up 205 Chapter 9: Automating Service Workers with Google Workbox 207 Introducing Workbox 207 Generating a Precaching Service Worker 208 Add Precaching to an Existing Service Worker 215 Controlling Cache Strategies 218 Wrap-Up 224 Index 225

About the Author :
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.


Best Sellers


Product Details
  • ISBN-13: 9780136484257
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • ISBN-10: 0136484255
  • Publisher Date: 27 Apr 2021
  • Binding: Digital download
  • No of Pages: 272


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Learning Progressive Web Apps
Pearson Education (US) -
Learning Progressive Web Apps
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Learning Progressive Web Apps

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!