SlideShare a Scribd company logo
WHY PROGRESSIVE APPS FOR
WORDPRESS?
Imran Sayed @imranhsayed
WordCamp Finland
2020
DINOSAUR GAME
Why Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp Finland
#WCAHEMDABAD2019
Software
Hardest problem
with the software is
the distribution.
History of Software
distribution
19th Century :
The first known computer
algorithm was written by
Charles Babbage
Difference Engine
1980s :
Spread of cartridges and
cassette tapes for
distribution of commercial
software.
CARTRIDGES & CASSETTES
When the programmes
started to become large ,
floppy discs, cds and dvds
were used
FLOPPY DISCS, CDS & DVDS
Why Progressive Web Apps For WordPress - WordCamp Finland
Web application
model has
completely
revolutionized
software
distribution.
Why Progressive Web Apps For WordPress - WordCamp Finland
USAGE TREND ON
MOBILE WEB VS.
MOBILE APP
● Easy access on home screen
● Work offline
● Push notifications bring user back
● Access to mobile features and sensors
13% on Mobile Web
87% on Mobile Apps
According to commScore Mobile Metrix
Why users spend more time on native Apps?
80%
Of the time is spent
on user’s top 3 apps.
According to commScore Mobile Metrix
Capability
Reach
Approx. 100 visits/ month for an avg user.
Mobile Apps have better
capability, while Mobile
Web has better reach.
HOW CAN WE GET BOTH?
Capability
Reach
PWA
Combine the best of both world:
Mobile App + Mobile Web = PWA
● Progressively enhance Web Applications look
and feel like native apps
● PWAs are web applications, looks and behaves
as if it is a mobile app.
WHAT ARE
PROGRESSIVE WEB APPS?
Why Progressive Web Apps For WordPress - WordCamp Finland
EngagingReliable
Fast
● We use app by clicking on
the App icon on home
screen.
● If our web can earn a
place in user’s home
screen, we can increase
the users engagement.
How do you use native apps?
Need for PWA?
NATIVE APPS VS.
PWA
Native Apps PWA
● Develop and maintain
3 separate codebase
● High friction of
distribution
● Less discoverable
● Only the app download
link can be shared
● Only one codebase
● Accessible on android,
IOS and web. Variety of
browsers.
● Content is discoverable
and indexed by search
engines.
● Direct link of any
page/screen can be
shared.
Native Apps PWA
● Not bookmarkable
● Update the app
through playstore
● High data usage.
● Bookmarkable
● Always fresh
● Large data savings.
Progressive Responsive Works
Offline
Works
Offline
Fresh
Safe Discoverable Re-
engageable
Durable Linkable
FEATURES OF PWA
BUILDING A PWA
STEP 1:
Create a
Web App Manifest
● A JSON file that contains metadata.
● Tells the browser about your web application and
how it should behave when 'installed' on the user's
mobile device or desktop.
WHAT IS A
WEB APP MANIFEST?
Valid Manifest
● Chrome - manifest.json
● Opera - manifest.json
● Mozilla - manifest.webmanifest
● Microsoft - manifest.webmanifest
WHAT IS A
WEB APP MANIFEST?
{
"short_name": "Codeytek", Home screen, launcher etc
"name": "Codeytek Academy", App install prompt
"icons": [
{
"src": "/android-chrome-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/icons-512.png",
"type": "image/png",
"sizes": "512x512"
}
Icons used for:
Home screen,
App launcher,
Task Switcher,
Splash Screen
….
"start_url": "/index.html",
"theme_color": "#ffc40d",
"background_color": "#3367d6",
"display": "standalone",
"scope": "/maps/",
}
Tell the browser about your manifest
<link rel="manifest" href="/manifest.json">
Browser Support
Service Workers
A service worker is a script
that your browser runs in
the background, separate
from a web page.
WHAT ARE SERVICE
WORKERS?
Web Browser Service Workers Remote Server
Middleware
Intercepts http request
SERVICE WORKERS
Service Worker
Lifecycle
1. register 2. install 3. activate
Register a
Service Worker
Add files
to Cache
Cache
Delete
Previous Cache
3 phases of Service Worker Lifecycle
STEP 2:
REGISTER A SERVICE
WORKER( register )
Step 1: Registering Service Worker
STEP 3:
ADD FILES TO CACHE
( install )
Create cache version and path for files to be cached ( sw.js )
Why Progressive Web Apps For WordPress - WordCamp Finland
STEP 4:
Delete previous
cache ( activate )
Why Progressive Web Apps For WordPress - WordCamp Finland
Service Worker Lifecycle
Service Worker, Manifest and Cache
Once the SW is active, it
Has full control over pages.
It can now handle events
such as:
1. Fetch
2. Push
3. Sync
Web
Browser
Service Workers
Intercepts http request
Server
/
Makes
http request
Is Request URL
In Cache?
STEP 5:
FETCH DATA FROM
CACHE ( fetch )
Why Progressive Web Apps For WordPress - WordCamp Finland
Fetch event
Fetch event
STEP 6:
ADD A CUSTOM ADD
TO HOME SCREEN
Why Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp Finland
Lighthouse Score - Performance
PWA Plugins for
WordPress
1. PWA
2. Super PWA
3. WordPress Mobile Pack
4. PWA for WP & AMP
5. Progressive WordPress
Super PWA
Push Notification
One Signal
One Signal
Accept Push Notification
Publish post
Browser
Compatibility
1. Google Chrome for Android
2. Mozilla Firefox for Android
3. Edge for Android
4. Brave for Android
5. Samsung Internet
Browser Compatibility
1. iOS just started supporting PWA
from version 11.3
2. Only some features supported on
iOS
3. Background Sync and Web Push
Notifications are not supported
4. Manually press the Share icon and
then “Add to Home Screen.”
Browser Compatibility
PWA Examples
WordSesh2020
Flipkart lite
Twitter lite m.uber
Codeytek
wp-decoupled
https://developers.google.com/web/fundament
als
https://github.com/imranhsayed/pwa-concepts
https://github.com/rtcamp/wp-decoupled
https://github.com/imranhsayed/gatsby-
woocommerce-themes
References
learn.rtcamp.com
codeytek.com
Imran Sayed
@imranhsayed

More Related Content

PPTX
Progressive web app
PPTX
Introduction of Progressive Web App
PPTX
PWA - Progressive Web App
PPTX
PWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
PDF
Building a Progressive Web App
PPTX
Pwa.pptx
PPTX
Progressive Web-App (PWA)
PPTX
Progressive Web App
Progressive web app
Introduction of Progressive Web App
PWA - Progressive Web App
PWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
Building a Progressive Web App
Pwa.pptx
Progressive Web-App (PWA)
Progressive Web App

What's hot (20)

PDF
Introduction to Progressive web app (PWA)
PPTX
Why Progressive Web App is what you need for your Business
PDF
Progressive Web Apps / GDG DevFest - Season 2016
PDF
Progressive web apps
PPTX
Progressive Web Apps(PWA)
PPTX
Pwa demystified
PPTX
Full stack development
ODP
Introduction to Progressive Web Apps (PWA)
PDF
Progressive Web Apps
PPT
Android & iOS Automation Using Appium
PPTX
Mobile Automation with Appium
PPTX
Hybrid Mobile App
PDF
Performance testing of mobile apps
PDF
Case Study 1 - Portfolio Project Final - Google UX Design Certificate
PDF
Mobile Application Design & Development
PDF
Progressive Web Apps (PWAs): Why you want one & how to optimize them #Applaus...
PDF
Appium: Automation for Mobile Apps
PPTX
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
PPT
PPTX
Mobile Synchronization Patterns for Large Volumes of Data
Introduction to Progressive web app (PWA)
Why Progressive Web App is what you need for your Business
Progressive Web Apps / GDG DevFest - Season 2016
Progressive web apps
Progressive Web Apps(PWA)
Pwa demystified
Full stack development
Introduction to Progressive Web Apps (PWA)
Progressive Web Apps
Android & iOS Automation Using Appium
Mobile Automation with Appium
Hybrid Mobile App
Performance testing of mobile apps
Case Study 1 - Portfolio Project Final - Google UX Design Certificate
Mobile Application Design & Development
Progressive Web Apps (PWAs): Why you want one & how to optimize them #Applaus...
Appium: Automation for Mobile Apps
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
Mobile Synchronization Patterns for Large Volumes of Data
Ad

Similar to Why Progressive Web Apps For WordPress - WordCamp Finland (20)

PPTX
Why progressive apps for WordPress - WordSesh 2020
PDF
Why progressive web apps for word press wc-ahemdabad
PDF
Pwa is the future. The Presentation I gave at PWA event
PPTX
Why Progressive Apps For WordPress?
PPTX
PWA demystified
PDF
WTF R PWAs?
PPTX
Basic Understanding of Progressive Web Apps
PPSX
Progressive Web App
PPTX
Progressive Web Apps
PPTX
Progressive Web APP ( PWA )
PPTX
Introduction to Progressive Web Applications
PDF
Progressive Web Apps
PPTX
Introduction to Progressive Web Applications
PPTX
Progressive web application
PPTX
Basic Learning about Progressive Web Apps (PWA)
PDF
Progressive Web Apps - NPD Meet
PPTX
Progressive Web Apps for Education
PPTX
PWA basics for developers
PDF
Planning Your Progressive Web App
Why progressive apps for WordPress - WordSesh 2020
Why progressive web apps for word press wc-ahemdabad
Pwa is the future. The Presentation I gave at PWA event
Why Progressive Apps For WordPress?
PWA demystified
WTF R PWAs?
Basic Understanding of Progressive Web Apps
Progressive Web App
Progressive Web Apps
Progressive Web APP ( PWA )
Introduction to Progressive Web Applications
Progressive Web Apps
Introduction to Progressive Web Applications
Progressive web application
Basic Learning about Progressive Web Apps (PWA)
Progressive Web Apps - NPD Meet
Progressive Web Apps for Education
PWA basics for developers
Planning Your Progressive Web App
Ad

More from Imran Sayed (18)

PPTX
Docker with WordPress
PPTX
Custom gutenberg block development in react
PPTX
Fastest Way of Creating Gutenberg Blocks - WordCamp Rochester
PPTX
Harness The Power Of ACF For Gatsby and WordPress
PPTX
Improving Your Debugging Skills In WordPress
PPTX
Build Modern Web Applications with React and WordPress
PPTX
Digging Into Gutenberg
PPTX
Fastest Way Of Creating Gutenberg Blocks With Minimal JavaScript Knowledge ...
PPTX
Build fast word press site in react in 30 mins with frontity
PPTX
Build Fast WordPress Site With Gatsby
PPTX
Creating Gutenberg Blocks With ACF
PPTX
Custom gutenberg block development with React
PPTX
SSR with React - Connecting Next.js with WordPress
PDF
React with WordPress : Headless CMS
PPTX
React Workshop: Core concepts of react
PPTX
Redux workshop
PPTX
React workshop
PPTX
Introduction to Gutenberg- Imran Sayed
Docker with WordPress
Custom gutenberg block development in react
Fastest Way of Creating Gutenberg Blocks - WordCamp Rochester
Harness The Power Of ACF For Gatsby and WordPress
Improving Your Debugging Skills In WordPress
Build Modern Web Applications with React and WordPress
Digging Into Gutenberg
Fastest Way Of Creating Gutenberg Blocks With Minimal JavaScript Knowledge ...
Build fast word press site in react in 30 mins with frontity
Build Fast WordPress Site With Gatsby
Creating Gutenberg Blocks With ACF
Custom gutenberg block development with React
SSR with React - Connecting Next.js with WordPress
React with WordPress : Headless CMS
React Workshop: Core concepts of react
Redux workshop
React workshop
Introduction to Gutenberg- Imran Sayed

Recently uploaded (20)

PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
AI in Product Development-omnex systems
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Digital Strategies for Manufacturing Companies
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Materi_Pemrograman_Komputer-Looping.pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
medical staffing services at VALiNTRY
PPTX
Essential Infomation Tech presentation.pptx
Operating system designcfffgfgggggggvggggggggg
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Upgrade and Innovation Strategies for SAP ERP Customers
Design an Analysis of Algorithms II-SECS-1021-03
ISO 45001 Occupational Health and Safety Management System
ManageIQ - Sprint 268 Review - Slide Deck
Materi-Enum-and-Record-Data-Type (1).pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
AI in Product Development-omnex systems
Design an Analysis of Algorithms I-SECS-1021-03
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Adobe Illustrator 28.6 Crack My Vision of Vector Design
2025 Textile ERP Trends: SAP, Odoo & Oracle
Digital Strategies for Manufacturing Companies
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Materi_Pemrograman_Komputer-Looping.pptx
How Creative Agencies Leverage Project Management Software.pdf
medical staffing services at VALiNTRY
Essential Infomation Tech presentation.pptx

Why Progressive Web Apps For WordPress - WordCamp Finland