Video description
Progressive Web Apps (PWA) are the next big thing in web development as they bring mobile-app-like experiences to your users without requiring them to install an app from the App store/ Play store.You still create a web application (HTML, CSS, JavaScript) but this course will teach you how to add features such as camera access, service workers for offline support, push notifications, and more. This combines the best of both worlds: You deliver fast, engaging and reliable experiences whilst still having the reach and accessibility of a web page. "Progressive Web App" is simply a term that summarizes all the features that allow you to deliver mobile-like experiences. The topic is highly trending and it also is a topic which is here to stay! Not only is it strongly promoted by Google (actually a lot of talks at Google I/O 2017, Google's developer conference, were devoted to PWAs), it's also quickly being adopted by big companies like Twitter or the Washington Post. Having the skills to build and optimize these kind of web apps is already an important and highly demanded skill for modern web developers, a trend which is only going to accelerate! Therefore, learning how to build PWAs will give you a competitive edge! To ensure that you can apply the knowledge to ANY of your projects, the course project doesn't assume any JavaScript framework but focuses on the core features mentioned above!
What You Will Learn
- Build web apps that look and feel like native mobile apps for iOS and Android
- Use service workers to build web apps that work without an internet connection (offline-first)
- Leverage device features like the camera and geolocation in your web apps
- Use web push notifications to increase user engagement with your web apps
Audience
Students who want to build web apps that look and behave like native mobile apps. Students who want to build offline-ready web apps (yes, that works!). Anyone who wants to build web apps that offer access to the device camera, geolocation, push notifications and provide offline support. Students who want to leverage the latest browser features whilst still supporting older browsers.
About The Author
Academind by Maximilian Schwarzmüller:
Academind GmbH
Bundling the courses and the knowledge of successful instructors, Academind strives to deliver high-quality online education. The platform covers topics such as web development, data analysis, and more in a fun and engaging way.
Maximilian Schwarzmüller
Since the age of 13, he has never stopped learning new programming skills and languages. In his early days, he started creating websites simply for fun. This passion has remained and shaped his decision to work as a freelance web developer and consultant. Although he started web development on the backend (PHP with Laravel and NodeJS), he has progressed to becoming a front-end developer using modern frameworks such as React, Angular, and VueJS 2 in many projects.
The most rewarding experience for him is to see how people find new and better jobs, build exciting web applications, acquire amazing projects, or simply enjoy their hobby with the help of his content.
Table of contents
-
Chapter 1 : Getting Started
- About this Course
- What are Progressive Web Apps?
- PWAs vs Native Mobile Apps
- A Demo PWA What We'll Build in this Course
- Our First Progressive Web App
- PWA Core Building Blocks
- Comparing PWAs and SPAs
- What is "Progressive Enhancement"
- Course Outline
- Course Project Setup
- How to get the Most out of this Course
-
Chapter 2 : Understanding the App Manifest
- Module Introduction
- Using an App Manifest to Make your App Installable
- Adding the Manifest
- Understanding App Manifest Properties
- Adding Properties to the App Manifest
- PWAs and Browser Support
- Using the Chrome Developer Tools
- Simulating the Web App on an Emulator
- Installing the Web App – Prerequisites
- Adding Properties for Safari
- Adding Properties for the Internet Explorer
- Wrap Up
-
Chapter 3 : The Service Workers
- Module Introduction
- Why Service Workers Are Amazing!
- Understanding Service Worker Events
- The Service Worker Lifecycle
- Service Worker Browser Support
- Registering a Service Worker
- Reacting to Incoming Events (in SW)
- Updating Activating Service Workers
- Non-Lifecycle Events
- Getting that "App Install Banner"
- Testing the App on Real Device (and Installing the App!)
- Deferring the App Install Banner
- Wrap Up
- Chapter 4 : Promise and Fetch
-
Chapter 5 : Service Workers – Caching
- Module Introduction
- Why Caching?
- Understanding the Cache API
- Browser Support
- Adjusting the Course Project
- Identifying (Pre-) Cacheable Items
- Static Caching/ Precaching
- Retrieving Items from the Cache
- Adding Retrieving Multiple Files (to/ from Cache)
- Cache Multiple Files with addAll
- Dynamic Caching - The Basics
- Implementing Dynamic Caching
- Handling Errors
- Adding Cache Versioning
- Different Cache Versions Cleanup
- Optimizing Cache Management
- Wrap Up
-
Chapter 6 : Service Workers - Advanced Caching
- Module Introduction
- Module Preparation: Adding a Button
- Offering "Cache on Demand"
- Providing an Offline Fallback Page
- Strategy: Cache with Network Fallback
- Strategy: Cache Only
- Strategy: Network Only
- Strategy: Network with Cache Fallback
- Strategy: Cache then Network
- Cache then Network Dynamic Caching
- Cache then Network with Offline Support
- Cache Strategies "Routing"
- Applying Cache Only
- A Better Way of Parsing Static Cache URLs
- A Better Way of Serving Fallback Files
- Post Request and Cache API
- Cleaning/ Trimming the Cache
- Getting Rid of a Service Worker
- Preparing the Project for the Next Steps
- Wrap Up
-
Chapter 7 : IndexedDB and Dynamic Data
- Module Introduction
- Understanding the Basics
- Setting up Firebase
- Connecting Frontend to Backend
- Dynamic Caching vs. Caching Dynamic Content
- Introducing IndexedDB
- IndexedDB Browser Support
- Adding the IDB File
- Storing Fetched Posts in IndexedDB
- Using IndexedDB in the Service Worker
- Reading Data from IDB
- Clearing IDB Handling Server-Client Mismatch
- Implementing the Clear Database Method
- Deleting Single Items from the Database
- IndexedDB and Caching Strategies
- Wrap Up
- Chapter 8 : Creating a Responsive User Interface (UI)
- Chapter 9 : Background Sync
-
Chapter 10 : Web Push Notifications
- Module Introduction
- Why we need Web Push Notifications
- How Push Notifications Work
- Displaying Notifications - Some Theory First
- Browser Support
- Requesting Permissions
- Displaying Notifications
- Notifications from Within the Service Worker
- Understanding Notifications' Options
- Advanced Options
- Adding Actions to Notifications
- Reacting to Notification Interaction – Clicks
- Reacting to Notification Interaction – Closing
- From Notifications to Push Messages
- Creating a Push Subscription
- Storing Subscriptions
- Connecting Server Client (PWA)
- Sending Push Messages from the Server
- Listening to Push Messages
- Displaying Push Notifications on a Real Device
- Opening a Page upon User Interaction
- Improving our Code
- Wrap Up
-
Chapter 11 : Native Device Features
- Module Introduction
- Preparing the Project
- Getting DOM Access
- Creating our own Polyfills
- Getting the Video Image
- Hooking Up the Capture Button
- Storing the Image on a Server
- Accepting File Upload Example with Firebase
- Testing the Camera Upload
- Implementing a Fallback
- Getting the User Position
- Fixing Bugs
- Testing the App on a Real Device
- Wrap Up
-
Chapter 12 : Service Worker Management with Workbox
- Module Introduction
- Understanding the Basics
- Installing Workbox Using It
- Configuring Workbox Precaching
- Customizing the Service Worker
- Implementing Routing with the Workbox Router
- Expanding Dynamic Caching
- Options and Setting up Strategies
- Custom Handlers (Example: For IndexedDB)
- Providing an Offline HTML Fallback
- Handling Background Synchronization and Push Notifications
- Understanding the Workbox Documentation
- Enhancing the Build Workflow
- Running our App on a Real Server
- Auditing our Webpage with Lighthouse
- Wrap Up
- Chapter 13 : SPAs and PWAs
- Chapter 14 : Course Roundup
Product information
- Title: Progressive Web Apps (PWA) - The Complete Guide
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789135770
You might also like
book
Building Progressive Web Apps
Move over native apps. New progressive web apps have capabilities that will soon make you obsolete. …
book
Learn TypeScript 3 by Building Web Applications
Learn TypeScript and many of its features by building state of art web applications from scratch …
book
Pro Angular: Build Powerful and Dynamic Web Apps
Welcome to this one-stop shop for learning Angular. Pro Angular is the most concise and comprehensive …
video
Node.js - The Complete Guide
Node.js is one of the most popular and modern server-side programming languages and is used widely …