Angular Progressive Web Apps (PWA) MasterClass & FREE E-Book
4.3 (293 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,468 students enrolled

Angular Progressive Web Apps (PWA) MasterClass & FREE E-Book

Practical Guide to Angular Progressive Web Applications (PWA)
4.3 (293 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,468 students enrolled
Last updated 6/2020
English
English [Auto], Spanish [Auto]
Current price: $104.99 Original price: $149.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3.5 hours on-demand video
  • 3 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Code in Github repository with downloadable ZIP files per section
  • Learn in detail multiple features made available by the Angular Service Worker
  • Learn How to turn your Angular Application into a PWA
  • Make your Angular Application Downloadable and Installable
  • Make you Angular Application One-Click Installable with an App Manifest
  • Add an Application Shell for boosting Initial Startup Performance
  • Add Push Notifications using the Angular Service Worker
  • Improve Application Performance with Application Data Caching
  • Learn Service Worker Fundamentals
  • Learn the Service Worker Lifecycle in Detail
  • Debug Service Workers using the Chrome Dev Tools
Course content
Expand all 44 lectures 03:46:03
+ Angular Service Worker
11 lectures 52:02
Recommended Software Versions
00:14
The Typescript Jumpstart Ebook
03:27
How To Run The Angular Service Worker In Production Mode
06:52
Angular Service Worker - How Does it Work?
04:32
Service Worker Version Management - How Does it Work?
07:32
The Angular Service Worker Kill Switch
04:00
Performance Caching Policy - Cache First, Network Last
04:21
Freshness Caching Policy - Network First, Cache Last
03:25
+ App Manifest - Add Application To Home Screen
1 lecture 07:30
App Manifest - Making a PWA One-Click Installable
07:30
+ The Angular Application Shell
4 lectures 20:05
What is an Application Shell, What Problem Does it Solve?
04:57
Learn the Relation Between the App Shell and Angular Universal
06:07
The App Shell In Action - View Performance Benefits
03:25
+ Push Notifications
8 lectures 33:06
New Section Kickoff - Push Notifications
03:42
Server Identification - Generating a VAPID key with the web-push library
05:33
VAPID Public Key and Private Key - Learn the Differences
02:33
How do Push Notifications Work? Browser-specific Push Service Providers
05:16
Push Notifications Request - Implementation Completed
03:50
How To Display The Allow or Deny Notifications Popup Again
01:06
Push Notification in Node - Server Implementation With web-push
07:47
View Web Push Notifications In Action
03:19
+ Service Worker Fundamentals
7 lectures 51:59
Service Workers In a Nutshell - Service Worker Registration
08:08
Service Workers Hello World - Lifecycle Part 1 and PWA Chrome Dev Tools
07:18
Service Workers and Application Versioning - Install & Activate Lifecycle Phases
10:15
Downloading The Offline Page - The Service Worker Installation Phase
09:50
Introduction to the Cache Storage PWA API
04:44
View Service Workers HTTP Interception Features In Action
06:07
Service Workers Error Handling - Serving The Offline Page
05:37
+ Service Workers In Practice
10 lectures 55:16
Section Introduction - Service Workers and Application Download and Installation
03:24
Downloading an Application In The Background Using Service Workers
08:23
Using Service Workers To Implement a Cache Then Network Fetch Strategy
07:46
Service Worker Version Management in Action
03:59
Service Worker Version Management - Deleting Previous Application Versions
03:51
Performance Benefits of a Service Worker over a Slow Connection
02:34
Service Worker Lifecycle - Understanding The Default Behavior
09:37
Service Worker Lifecycle Customization -Early Activation with clients.claim()
04:51
Service Worker Lifecycle Customization with skipWaiting()
06:16
Service Worker Lifecycle Customization - Manually Check For New Versions
04:35
+ Conclusion
3 lectures 06:04
Other Courses
02:17
Bonus Lecture
01:26
Course Conclusion and Key Takeaways
02:21
Requirements
  • Just some previous knowledge of Angular and Typescript
Description

This Course In a Nutshell - Part 1 Angular Service Worker (includes the Typescript Jumpstart Ebook)

In the first part of the course we are going to dive straight into the Angular Service Worker and the built-in Angular CLI PWA support. We are going to take as the starting point a plain Angular Application, and we are going to start adding PWA features on top of it in order to turn it into a Progressive Web Application.

We will start by adding the Angular Service Worker and have the Application Download & Installation feature up and running. We will learn all about Application Version Management and we will learn about the multiple caching strategies available for caching not only the application bundles, but also the application data.

We will then add an Application Shell using the Angular CLI and Angular Universal, and make the application One-Click Installable using an App Manifest. Finally we will add Push Notifications to the application using the Angular Service Worker, for a complete mobile-like PWA experience.

This Course In a Nutshell - Part 2 - Service Workers Fundamentals

In this second part, you will learn about Progressive Web Applications in general (including Service Workers, App Manifest, and the Cache Storage API.), and you will use these APIs to implement several native-like features: One-Click Install, Offline support, application download and installation, application data caching and more.

We will also learn Service Worker Web Fundamentals from first principles using built-in browser APIs directly and we will confirm our understanding of what is going on in every step of the way using the PWA built-in Chrome Dev Tools.

The knowledge learned on this section has a long shelf live, as its about browser fundamentals and how the new PWA Web works in general, so everything learned here is still applicable to any other development platform other than Angular.

Why PWAs? Build the Future Of the Web Today

The future of the Web is clearly going in one direction: Progressive Web Applications! With the upcoming Safari support and the ability to install a PWA directly to a Windows desktop, PWAs are the new generation of web applications that will bridge the gap towards Native Apps: this will even include in the near future things like Bluetooth and Payments.

PWAs look and feel like native apps, but there is no App Store and all its issues involved: instead a web application can now be installed directly to the user desktop or home screen with one single click!

The application will then install itself immediately on the background, so that it does not have to be downloaded again unless a new version is available.

The application will feel blazing fast in a way that until now only native apps could: A PWA is offline, background sync and notification capable.

PWAs are not mobile-specific: any application can benefit from starting up an order of magnitude faster! The Angular CLI PWA support and the Angular Service Worker take PWA features to another level: we will be able to add PWA features reliably to our application in a transparent way via the Angular CLI, as part of the production build process.

But we will still need to understand how PWA features work under the hood, in order to troubleshoot any issues, interact with the Angular Service Worker or configure the Angular CLI.

Course Overview

In part 1, we are going to take PWA features one at a time.These features where designed to be used together, so using them to implement a concrete use case is the best way to learn them. The main component of a PWA is a Service Worker, so that is our starting point.

We are going to learn all about the Service Worker lifecycle, how multiple versions of the service worker are handled by the browser, and we will learn multiple Service worker installation and activation GOTCHAs. We are then going to build a service worker that gives to an application the ability of showing an offline page when the network is down, using the Cache API.

Most of the PWA APIs are Promise-based, so to make the code more readable we are going to be using Async / Await in our examples. We are then going to implement Application Download and Installation: we are going to see how we can use a Service Worker to completely download a version of the website into a user's mobile or desktop, and how to handle the installation of multiple versions of the application.

We are going to demo the performance benefits of caching the complete application locally by simulating a slow network, and learn how to clean previous versions of an application. We will also learn how to cache UI-specific data and derived View Model data on the client side using Indexed DB and a Service Worker, and we will also earn how to implement Background Sync.

The next section of the course will cover all about the App Manifest and how to configure that one-click installation experience that we are looking for. After that, we will inspect our application with the Lighthouse tool and analyze the generated report.

The last part of this PWA fundamentals section will cover Web Push and Notifications. In this section, we are going to setup a node server with Web Push capabilities, and then we are going to link it to our service worker in order to implement mobile-like Notifications.

What Will you Learn In this Course?

You will learn how the PWA Browser features work in general, not only in the context of an Angular application. You will know how to analyze and troubleshoot PWAs using the Chrome PWA Dev Tools. You will also learn how to leverage the Angular Service Worker, and all the Angular CLI PWA features to build PWA-enabled web applications.

What Will You be able to do at the End Of This Course?

You will be able to design, develop and troubleshoot PWAs, plus you will know how to quickly add PWA features to an Angular Application leveraging the Angular CLI and the Angular Service Worker.

Have a look at the course free lessons below, and please enjoy the course!

Who this course is for:
  • Developers looking to get in-depth knowledge on the Angular Service Worker
  • Developers looking to learn Service Worker Fundamentals (part 2 of the course)