pwaintroductionfordeveloper-170703105509.pdf

basiljohn33 12 views 18 slides Jun 06, 2024
Slide 1
Slide 1 of 18
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18

About This Presentation

PWA


Slide Content

Progressive Web Apps (PWA)
An Introduction
By: Sandip Nirmal
[email protected]

Contents
●Web Application
●Progressive Web App
●Taking App Offline
●Making app installable
●App Demo
●Browser Support, etc

Web Application
“Web application or web app is a client–server software application in
which the client (or user interface) runs in a web browser”
- Wikipedia
●Connectivity Dependant
●Non installable

Progressive Web App
●Offline first
●Installable
●Safe
●Responsive
●Re-engageable
●App-like
●etc

Taking App Offline
●Service Worker are
●event-driven script contexts that run at an origin.
●Sits in between origin and internet
●Acts as a proxy
●Caches API are
●New Storage API
●Can store any content (served over the web)
●Developer has entire control over it

Service Worker Registration

Service Worker events (install)

Service Worker events (fetch)

Service Worker events (fetch)

Service Worker events (activate)

App Installation
●App manifest
●App icons
●App orientation

Demo App (Android)

Demo App (iOS)

Browser Support
●Chrome - Desktop and Mobile (Android)
●Firefox - Desktop and Mobile (Android)
●Microsoft Edge - Windows desktop and Mobile (Under Development)
●Opera - Desktop and Mobile (Android)
●Safari - MacOS and iOS (Under consideration)
● https://jakearchibald.github.io/isserviceworkerready/

Testing (Lighthouse)

Why PWA
●55% of entire web traffic is from mobile devices
●Browser supports native features (https://whatwebcando.today/)
●Reduced development efforts
Current (web/desktop + android + iOS + windows)
With PWA (PWA & iOS)

References (Getting Started)
●https://www.udacity.com/course/offline-web-applications--ud899 (Free course)
●https://developers.google.com/web/progressive-web-apps/
●https://jakearchibald.com/2014/offline-cookbook
●Example Apps
https://pwa.rocks/
https://www.chromestatus.com
https://flipkart.com
https://housing.com

THANK YOU
Demo App : https://sandipnirmal.github.io/weather-app-PWA
Code Repo: https://www.github.com/sandipnirmal/weather-app-PWA
Tags