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

所在平台: Udemy

课程主页: https://www.udemy.com/course/angular-pwa-course/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Angular渐进式网页应用(PWA)大师班&免费电子书 课程概述: 本课程分为两部分,第一部分专注于Angular Service Worker和内置的Angular CLI PWA支持。我们将以一个普通的Angular应用为基础,逐步为其添加PWA特性,最终将其转变为渐进式网页应用(PWA)。课程涵盖了应用程序下载与安装功能、应用版本管理以及多种缓存策略的学习,确保应用程序的资源和数据可有效缓存。我们将使用Angular CLI和Angular Universal构建应用程序外壳,并实现一键安装功能。最后,我们将通过Angular Service Worker为应用添加推送通知,提供完整的类似移动应用的PWA体验。 第二部分将深入探讨服务工作者的基础知识。您将学习关于渐进式网页应用的基本概念(包括服务工作者、应用清单和缓存存储API),并利用这些API实现多种类原生应用特性,如一键安装、离线支持、应用数据缓存等。我们还将通过内置的浏览器API直接学习服务工作者的基本原理,并使用Chrome开发者工具来确认每个步骤的理解。这部分的知识具有长久的参考价值,适用于任何其他开发平台,不仅限于Angular。 为什么选择PWA? 渐进式网页应用是网络的未来,随着Safari即将支持PWA以及在Windows桌面上直接安装PWA的能力,PWA将弥合与原生应用之间的差距。PWA看起来和感觉都像原生应用,但没有应用商店的相关问题,用户可以轻松地将网页应用程序安装到桌面或主屏幕,仅需一次单击。PWA的性能也极为优越,支持离线使用、后台同步和通知,并且不仅局限于移动设备。 课程学习目标: 在第一部分中,我们将逐步学习PWA特性,包括服务工作者的生命周期、版本管理、离线页面的展示、UI特定数据及其缓存等。课程最后将涉及应用清单的配置和Web推送通知的实现。 学习完成后,您将能够设计、开发和故障排除PWA,并能通过Angular CLI和Angular Service Worker迅速将PWA功能添加到Angular应用中。 请查看本课程提供的免费课程内容,祝您学习愉快!

课程评论(0条)

课程详情

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!

课程标签

0人关注该课程

主题相关的课程