Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence

Magic Software
Magic SoftwareMagic Software

Progressive web app may look like a buzz word around improved web standards and few mobile friendly web design patterns. But it brings positive impact on businesses and users. Let’s learn more about it here.

Go for Progressive Web Apps.
Get a Better, Low Cost, Mobile Presence
- A Whitepaper
Written by:
Mrityunjay Kumar
Technology Architect
Magic Software Inc.
www.magicsw.com
Typically mobile web apps really suck!! They are slow and sluggishand thesituation could
get even worse with shaky internet connectivity. Hence, businesses and app developers are
more inclined towards building native apps (including hybrid apps).
Let’s not forget that native applications have their own set of problems:
 Not always easy to develop and support; especially with regards to extra time to
develop and support different platforms, versions and devices.
 Not a cheaper proposition, as support of multiple platforms, devices and versions
often increases the cost.
 Not easy to distribute; since publishing to an app store is anongoing, tedious
process.
There are some features of native or hybrid apps that if added to mobile web apps would
truly be the icing on the cake creating unified apps that could be easily distributed and
would work on all devices.
 Home screen app like icons.
 Push notification in system tray.
 Full screen immersive experience.
 One-tap sign in using device accounts.
 Secure web pay details management.
 Secure on HTTPS.
 Faster rendering.
 Work offline on flaky network.
 Background task processing.
 Access to native device capabilities like camera, microphone, accelerometer and
others.
This is whereProgressive Web Appsstep in. Based on design principles and standardized
browser technologies they make it possible to achieve almost all of the above mentioned
features.
Progressive Web App Deep Dive
A progressive web app typically will be a single page application with responsive design.
There are standards and design patterns to get a better and faster user experience on the
mobile web. If built correctly,web apps can perform at par with native applications.
A progressive web app performance will always be better than that of a typical web app.
If a web app were to just look like a native one, without the responsiveness to devices the
entire purpose would be defeated. Progressive web apps also provide guidelines to build a
UI which animatesor respondsat 60 fps (frame per seconds).
To delight users, mobile web apps need to behave,in terms of performance and interface,
ideally in these time limits.
Now we have several reasons to deep dive into a few standards and design patterns, which
collectively transform a normal web app into a progressive web app.
Service Worker
A service worker is a standard that comprises scriptsrun by one’s browser in the
background, separate from a web page, opening the door to features, which donot need a
web page or user interaction. Today, they already include features like push notifications
and background sync. In the future, service worker will support things like periodic sync or
geo-fencing, too.
Few salient features of ServiceWorker:
● Unlike aJavaScript Worker, which cannot access the DOM directly, a service
worker can communicate with the pages it controls by responding to messages
sent via the postMessage interface, and those pages can manipulate the DOM
if needed.
● Service Worker is a programmable network proxy, allowing control of network
requests from the page handled.
● It terminates when not in use, and restarts when next needed. Hence, we
cannot rely on global state within a Service Worker’s onfetch and onmessage
handlers. If there is information that you need to persist and reuse across
restarts, Service Worker does have access to the IndexedDB API.
● Service Worker makes extensive use of Promises.To learn more about
Promises – go toJake Archibald’s article.
Google Chrome, Opera, Firefox and IE Edge (In development) have support for Service
Worker. Apple Safari hasa plan for the same.
Service Worker specification is managed by W3C.
Push and Notifications
Push and notifications are important ways to engage users outside the context of web page.
They are some of the coolest features of a native app. When we send a timely, precise and
relevant notification to users, it increases the value of the offering.
Service Worker can enable push and notification seamlessly for web. Push is information
sent by the server to ServiceWorker. Notification is a message sent to the user by
ServiceWorker. Just like in native apps you need GCM (Google Cloud Messaging) account
for sending web push notifications.
W3C is responsible for creating specifications for bothPush API and the Notifications API.
Web App Manifest
The Web App Manifest specificationis anotherstandard managed by W3C. It is basically a
JSON file which helps in providing configurations to enable several native like features in a
web app.
● Add to home screen - User can now add a web app to their home screen for
easy access. Home screen will display an icon of the web app. We can specify
icons set (with different sizes) for add to home screen functionality in the web
app manifest file. In Mobile Chrome,as with some other browsers, you get an
option for it in the menu.
● Splash screen –A splash screen helps in providing a great user experience
when the app is not yet ready to display the first chunk of information. In the
absence of a splash screen, the user gets confused about the state of the app.
In web manifest we can give the splash screen image, title and theme
colorconfigurations. When user opens the web app they will see a splash
screen just like in a native app.
● Theme color - We can specify a theme color to addcolor to the toolbar, address
bar and other features.
● Launch style - We can specify display and orientation for the web app. Display
options are browser or standalone while orientation is portrait or landscape.
To add the Web Manifest to the web page we need to use this code <link rel="manifest"
href="/manifest.json">.
App Install Banner
Mobile Chrome provides an easy way for the web page to prompt a user to install the web
app to their home page. This is in addition to the ‘add to home screen’ feature. It helps in
increasing accessibility to the app.
Native Hardware Access
We can program the web to get access to native hardware capabilities. Currently available
are:
1. Click to call - Easily link phone numbers for direct dial
2. User location
3. Device orientation
4. Audio/Video recording and playback (Playback is already available in several
mobile browsers)
Some capabilities are work in progress:
1. Generic sensor API
2. Ambient light sensor
3. Proximity sensor
4. Accelerometer Sensor
5. Gyroscope Sensor
6. Magnetometer Sensor
7. Vibration
8. Battery status
9. Wake lock
These native hardware capability access standards are again managed by W3C.
Web Payment API
Web payment standards developed by W3C group called Web Payment Working Group
(WPWG) improve the current online payment mechanism. This is important to cut average
shopping cart abandonment rate, which stays at 69% across all devices. It is even higher
for mobile devices.
Web Payment API will cut the steps and increase the reliability for online payment. A single
tap makes it the best way for a user to complete their transaction.
Another forum called Web Payments Interest Group (WPIG), which consists of finance,
mobile and web industry entities, contributes actively in shaping up the Web Payment
standards.
Credential API
Credential API aims to reduce the form filling for login information by a user. It enables the
web to use device accounts for one tap and auto log-in and further improves the user
experience.
Investing in Progressive Web Apps – the
Business Logic
Investment in progressive web app is critical for an organization’s mobile strategy to
succeed in the long run. The Web is device independent and it gives the opportunity to
explore an app without installing anything. Progressive web apps will reduce the feature gap
between native apps and web appsin a short while.
There are a few important matrices which motivate us to start investing in progressive web
apps.
Increased Reach
Google Chrome has announced about 1 billion active monthly mobile users in just 4 years
of its first release. Expectedly there will be even more tremendous rapid growth on the
mobile web.
ComScore recently released data which says users are spending 2.5 x times on mobile web
apps vs the top 1000 native/hybrid apps.
Lower Acquisition Costs
Google worked with several companies like Flipkart and AliExpressfor their progressive web
app strategy and helped them build a better mobile web presence.
One of the key matrixes for any marketing team is the average customer acquisition cost.
Seliodeclared that their average customer acquisition cost for progressive web apps is a
whopping 10 times lesser than for native apps.
Improved Conversion
Conversion is another key matrix which explains the actual transactions made by acquired
customers.
AliExpress revamped their mobile web presence with progressive web app. Very soon, they
saw a huge 82 % more conversion on iOS devicesfollowing an improvement in their mobile
web presence They have also experienced a 2X increase in pageviews and 74% more time
spent on mobile web.. Hence it is critical for businesses to continue investing in progressive
mobile web apps.
Conclusion
Progressive web app may look like a buzz word around improved web standards and few
mobile friendly web design patterns. But we can't deny the positive impact it can bring on
businesses and users.
Progressive web app bring some features and improvement for mobile web which was only
available for native app in past. Lower cost of development and maintenance as well as
ease of distribution will taint on the position of native app in near future.
Native app will not go away but it's significance will take a toll as progressive web app will
progress.
We can start leveraging progressive web app standards and design patterns in any
domain/verticals mobile web offering.Magic Software can assist organizations with their
progressive mobile web app strategy.
References
1. Google progressive web app developer home page
2. Progressive Web App Dev Summit videos playlist
3. JavaScript Service Worker article
4. W3C ServiceWorker standard
5. W3C Push API specification
6. W3C Notification API specification
7. W3C web app manifest specification
8. Indexdb API specification
9. Promise design pattern
10. W3C native hardware capability access standards
11. W3C web payment API specification
12. W3C credential API specification
Copyright attribution
Few graphs and images have been grabbed from progressive web app summit 2016 event
videos.
All logos and trademarks are copyright of their respective owner.

Recommandé

NATIVE VS PWA APPS – A COMPLETE GUIDE par
NATIVE VS PWA APPS – A COMPLETE GUIDENATIVE VS PWA APPS – A COMPLETE GUIDE
NATIVE VS PWA APPS – A COMPLETE GUIDETekRevol LLC
117 vues11 diapositives
How to optimize your react native app performance par
How to optimize your react native app performance How to optimize your react native app performance
How to optimize your react native app performance Katy Slemon
85 vues42 diapositives
Find the right mobile app architecture for your business [detailed guide] par
Find the right mobile app architecture for your business [detailed guide]Find the right mobile app architecture for your business [detailed guide]
Find the right mobile app architecture for your business [detailed guide]Katy Slemon
59 vues46 diapositives
Mobile for B2B: Native or Web? par
Mobile for B2B: Native or Web?Mobile for B2B: Native or Web?
Mobile for B2B: Native or Web?Omobono
722 vues9 diapositives
Enrich your Super Apps with BB6 and BlueVia APIs par
Enrich your Super Apps with BB6 and BlueVia APIsEnrich your Super Apps with BB6 and BlueVia APIs
Enrich your Super Apps with BB6 and BlueVia APIsBlueVia
785 vues35 diapositives
IRJET-Garbage Monitoring and Management using Internet of things par
IRJET-Garbage Monitoring and Management using Internet of thingsIRJET-Garbage Monitoring and Management using Internet of things
IRJET-Garbage Monitoring and Management using Internet of thingsIRJET Journal
26 vues3 diapositives

Contenu connexe

Tendances

PWA demystified par
PWA demystifiedPWA demystified
PWA demystifiedPradeep Patel, PMP®
153 vues17 diapositives
Mobile app development par
Mobile app developmentMobile app development
Mobile app developmentSanjay Kumar
406 vues10 diapositives
Mobile Application Development par
Mobile Application Development Mobile Application Development
Mobile Application Development nandhini seo
265 vues32 diapositives
Mobile Web vs. Native apps par
Mobile Web vs. Native appsMobile Web vs. Native apps
Mobile Web vs. Native appsSoDA Speaks
2.3K vues7 diapositives
Progressive Web Apps –The Future of Apps par
Progressive Web Apps –The Future of Apps   Progressive Web Apps –The Future of Apps
Progressive Web Apps –The Future of Apps Ashish Saxena
330 vues2 diapositives
Accelerated Mobile Pages (AMP) par
Accelerated Mobile Pages (AMP)Accelerated Mobile Pages (AMP)
Accelerated Mobile Pages (AMP)Sanjay Kumar
120 vues7 diapositives

Tendances(20)

Mobile Application Development par nandhini seo
Mobile Application Development Mobile Application Development
Mobile Application Development
nandhini seo265 vues
Mobile Web vs. Native apps par SoDA Speaks
Mobile Web vs. Native appsMobile Web vs. Native apps
Mobile Web vs. Native apps
SoDA Speaks2.3K vues
Progressive Web Apps –The Future of Apps par Ashish Saxena
Progressive Web Apps –The Future of Apps   Progressive Web Apps –The Future of Apps
Progressive Web Apps –The Future of Apps
Ashish Saxena330 vues
Accelerated Mobile Pages (AMP) par Sanjay Kumar
Accelerated Mobile Pages (AMP)Accelerated Mobile Pages (AMP)
Accelerated Mobile Pages (AMP)
Sanjay Kumar120 vues
IJSRED-V2I5P23 par IJSRED
IJSRED-V2I5P23IJSRED-V2I5P23
IJSRED-V2I5P23
IJSRED25 vues
Best cross platform app development frameworks for 2021 par Omega_UAE
Best cross platform app development frameworks for 2021Best cross platform app development frameworks for 2021
Best cross platform app development frameworks for 2021
Omega_UAE27 vues
Mobile app development converted par Sandy Gupta
Mobile app development convertedMobile app development converted
Mobile app development converted
Sandy Gupta33 vues
Hybrid Smart phone application development analysis par Sandeep Krishna
Hybrid Smart phone application development analysisHybrid Smart phone application development analysis
Hybrid Smart phone application development analysis
Sandeep Krishna847 vues
Know the Cost to Build React Native App in 2021 par Katy Slemon
Know the Cost to Build React Native App in 2021Know the Cost to Build React Native App in 2021
Know the Cost to Build React Native App in 2021
Katy Slemon22 vues

En vedette

Planning Digital Learning for K-12 Classroom par
Planning Digital Learning for K-12 ClassroomPlanning Digital Learning for K-12 Classroom
Planning Digital Learning for K-12 ClassroomMagic Software
125 vues5 diapositives
Propuesta comercial movistar wilson cantor par
Propuesta comercial movistar wilson cantorPropuesta comercial movistar wilson cantor
Propuesta comercial movistar wilson cantorwilsonsantafe
267 vues8 diapositives
Brochure par
BrochureBrochure
BrochureErica Monarrez
136 vues4 diapositives
A list of the best 50 medical schools in the world par
A list of the best 50 medical schools in the worldA list of the best 50 medical schools in the world
A list of the best 50 medical schools in the worldclydeamold
173 vues48 diapositives
Digital Education: Scope and Challenges of a Developing Society par
Digital Education: Scope and Challenges of a Developing SocietyDigital Education: Scope and Challenges of a Developing Society
Digital Education: Scope and Challenges of a Developing SocietyMagic Software
115 vues7 diapositives
Making Learning Products Accessible par
Making Learning Products AccessibleMaking Learning Products Accessible
Making Learning Products AccessibleMagic Software
45 vues7 diapositives

En vedette(7)

Planning Digital Learning for K-12 Classroom par Magic Software
Planning Digital Learning for K-12 ClassroomPlanning Digital Learning for K-12 Classroom
Planning Digital Learning for K-12 Classroom
Magic Software125 vues
Propuesta comercial movistar wilson cantor par wilsonsantafe
Propuesta comercial movistar wilson cantorPropuesta comercial movistar wilson cantor
Propuesta comercial movistar wilson cantor
wilsonsantafe267 vues
A list of the best 50 medical schools in the world par clydeamold
A list of the best 50 medical schools in the worldA list of the best 50 medical schools in the world
A list of the best 50 medical schools in the world
clydeamold173 vues
Digital Education: Scope and Challenges of a Developing Society par Magic Software
Digital Education: Scope and Challenges of a Developing SocietyDigital Education: Scope and Challenges of a Developing Society
Digital Education: Scope and Challenges of a Developing Society
Magic Software115 vues

Similaire à Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence

Progressive Web App par
Progressive Web AppProgressive Web App
Progressive Web AppSaleh Rahimzadeh
218 vues23 diapositives
What Are Progressive Web Application Development par
What Are Progressive Web Application DevelopmentWhat Are Progressive Web Application Development
What Are Progressive Web Application DevelopmentApp Verticals
6 vues8 diapositives
Planning Your Progressive Web App par
Planning Your Progressive Web AppPlanning Your Progressive Web App
Planning Your Progressive Web AppJason Grigsby
627 vues168 diapositives
Introduction of Progressive Web App par
Introduction of Progressive Web AppIntroduction of Progressive Web App
Introduction of Progressive Web AppSankalp Khandelwal
82 vues45 diapositives
Home management WebApp presentation par
Home management WebApp presentationHome management WebApp presentation
Home management WebApp presentationbhavesh singh
43 vues31 diapositives
Executive Overview of OutSystems (1) par
Executive Overview of OutSystems (1)Executive Overview of OutSystems (1)
Executive Overview of OutSystems (1)Steven Levine
814 vues12 diapositives

Similaire à Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence(20)

What Are Progressive Web Application Development par App Verticals
What Are Progressive Web Application DevelopmentWhat Are Progressive Web Application Development
What Are Progressive Web Application Development
App Verticals6 vues
Planning Your Progressive Web App par Jason Grigsby
Planning Your Progressive Web AppPlanning Your Progressive Web App
Planning Your Progressive Web App
Jason Grigsby627 vues
Home management WebApp presentation par bhavesh singh
Home management WebApp presentationHome management WebApp presentation
Home management WebApp presentation
bhavesh singh43 vues
Executive Overview of OutSystems (1) par Steven Levine
Executive Overview of OutSystems (1)Executive Overview of OutSystems (1)
Executive Overview of OutSystems (1)
Steven Levine814 vues
From AMP to PWA par Ido Green
From AMP to PWAFrom AMP to PWA
From AMP to PWA
Ido Green12.1K vues
Get better understanding between web app vs cloud app par Concetto Labs
Get better understanding between web app vs cloud appGet better understanding between web app vs cloud app
Get better understanding between web app vs cloud app
Concetto Labs108 vues
Progressive Web Apps - Porque nativo no es significa mejor par Israel Blancas
Progressive Web Apps - Porque nativo no es significa mejorProgressive Web Apps - Porque nativo no es significa mejor
Progressive Web Apps - Porque nativo no es significa mejor
Israel Blancas134 vues
Hybird mobile application development par beyondweb
Hybird mobile application developmentHybird mobile application development
Hybird mobile application development
beyondweb21 vues

Dernier

STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf par
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfSTRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfDr Vijay Vishwakarma
134 vues68 diapositives
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf par
 Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdfTechSoup
62 vues28 diapositives
BUSINESS ETHICS MODULE 1 UNIT I_A.pdf par
BUSINESS ETHICS MODULE 1 UNIT I_A.pdfBUSINESS ETHICS MODULE 1 UNIT I_A.pdf
BUSINESS ETHICS MODULE 1 UNIT I_A.pdfDr Vijay Vishwakarma
92 vues25 diapositives
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37 par
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37MysoreMuleSoftMeetup
54 vues17 diapositives
DISTILLATION.pptx par
DISTILLATION.pptxDISTILLATION.pptx
DISTILLATION.pptxAnupkumar Sharma
75 vues47 diapositives
ANGULARJS.pdf par
ANGULARJS.pdfANGULARJS.pdf
ANGULARJS.pdfArthyR3
52 vues10 diapositives

Dernier(20)

Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf par TechSoup
 Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
TechSoup 62 vues
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37 par MysoreMuleSoftMeetup
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
ANGULARJS.pdf par ArthyR3
ANGULARJS.pdfANGULARJS.pdf
ANGULARJS.pdf
ArthyR352 vues
INT-244 Topic 6b Confucianism par S Meyer
INT-244 Topic 6b ConfucianismINT-244 Topic 6b Confucianism
INT-244 Topic 6b Confucianism
S Meyer49 vues
What is Digital Transformation? par Mark Brown
What is Digital Transformation?What is Digital Transformation?
What is Digital Transformation?
Mark Brown41 vues
Creative Restart 2023: Atila Martins - Craft: A Necessity, Not a Choice par Taste
Creative Restart 2023: Atila Martins - Craft: A Necessity, Not a ChoiceCreative Restart 2023: Atila Martins - Craft: A Necessity, Not a Choice
Creative Restart 2023: Atila Martins - Craft: A Necessity, Not a Choice
Taste52 vues
JRN 362 - Lecture Twenty-Two par Rich Hanley
JRN 362 - Lecture Twenty-TwoJRN 362 - Lecture Twenty-Two
JRN 362 - Lecture Twenty-Two
Rich Hanley39 vues
Introduction to AERO Supply Chain - #BEAERO Trainning program par Guennoun Wajih
Introduction to AERO Supply Chain  - #BEAERO Trainning programIntroduction to AERO Supply Chain  - #BEAERO Trainning program
Introduction to AERO Supply Chain - #BEAERO Trainning program
Guennoun Wajih123 vues
Retail Store Scavenger Hunt.pptx par jmurphy154
Retail Store Scavenger Hunt.pptxRetail Store Scavenger Hunt.pptx
Retail Store Scavenger Hunt.pptx
jmurphy15453 vues
Interaction of microorganisms with vascular plants.pptx par MicrobiologyMicro
Interaction of microorganisms with vascular plants.pptxInteraction of microorganisms with vascular plants.pptx
Interaction of microorganisms with vascular plants.pptx

Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence

  • 1. Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence - A Whitepaper Written by: Mrityunjay Kumar Technology Architect Magic Software Inc. www.magicsw.com
  • 2. Typically mobile web apps really suck!! They are slow and sluggishand thesituation could get even worse with shaky internet connectivity. Hence, businesses and app developers are more inclined towards building native apps (including hybrid apps). Let’s not forget that native applications have their own set of problems:  Not always easy to develop and support; especially with regards to extra time to develop and support different platforms, versions and devices.  Not a cheaper proposition, as support of multiple platforms, devices and versions often increases the cost.  Not easy to distribute; since publishing to an app store is anongoing, tedious process. There are some features of native or hybrid apps that if added to mobile web apps would truly be the icing on the cake creating unified apps that could be easily distributed and would work on all devices.  Home screen app like icons.  Push notification in system tray.  Full screen immersive experience.  One-tap sign in using device accounts.  Secure web pay details management.  Secure on HTTPS.  Faster rendering.  Work offline on flaky network.  Background task processing.  Access to native device capabilities like camera, microphone, accelerometer and others. This is whereProgressive Web Appsstep in. Based on design principles and standardized browser technologies they make it possible to achieve almost all of the above mentioned features.
  • 3. Progressive Web App Deep Dive A progressive web app typically will be a single page application with responsive design. There are standards and design patterns to get a better and faster user experience on the mobile web. If built correctly,web apps can perform at par with native applications. A progressive web app performance will always be better than that of a typical web app. If a web app were to just look like a native one, without the responsiveness to devices the entire purpose would be defeated. Progressive web apps also provide guidelines to build a UI which animatesor respondsat 60 fps (frame per seconds). To delight users, mobile web apps need to behave,in terms of performance and interface, ideally in these time limits.
  • 4. Now we have several reasons to deep dive into a few standards and design patterns, which collectively transform a normal web app into a progressive web app. Service Worker A service worker is a standard that comprises scriptsrun by one’s browser in the background, separate from a web page, opening the door to features, which donot need a web page or user interaction. Today, they already include features like push notifications and background sync. In the future, service worker will support things like periodic sync or geo-fencing, too.
  • 5. Few salient features of ServiceWorker: ● Unlike aJavaScript Worker, which cannot access the DOM directly, a service worker can communicate with the pages it controls by responding to messages sent via the postMessage interface, and those pages can manipulate the DOM if needed. ● Service Worker is a programmable network proxy, allowing control of network requests from the page handled. ● It terminates when not in use, and restarts when next needed. Hence, we cannot rely on global state within a Service Worker’s onfetch and onmessage handlers. If there is information that you need to persist and reuse across restarts, Service Worker does have access to the IndexedDB API. ● Service Worker makes extensive use of Promises.To learn more about Promises – go toJake Archibald’s article. Google Chrome, Opera, Firefox and IE Edge (In development) have support for Service Worker. Apple Safari hasa plan for the same.
  • 6. Service Worker specification is managed by W3C. Push and Notifications Push and notifications are important ways to engage users outside the context of web page. They are some of the coolest features of a native app. When we send a timely, precise and relevant notification to users, it increases the value of the offering. Service Worker can enable push and notification seamlessly for web. Push is information sent by the server to ServiceWorker. Notification is a message sent to the user by ServiceWorker. Just like in native apps you need GCM (Google Cloud Messaging) account for sending web push notifications. W3C is responsible for creating specifications for bothPush API and the Notifications API. Web App Manifest The Web App Manifest specificationis anotherstandard managed by W3C. It is basically a JSON file which helps in providing configurations to enable several native like features in a web app.
  • 7. ● Add to home screen - User can now add a web app to their home screen for easy access. Home screen will display an icon of the web app. We can specify icons set (with different sizes) for add to home screen functionality in the web app manifest file. In Mobile Chrome,as with some other browsers, you get an option for it in the menu. ● Splash screen –A splash screen helps in providing a great user experience when the app is not yet ready to display the first chunk of information. In the absence of a splash screen, the user gets confused about the state of the app. In web manifest we can give the splash screen image, title and theme colorconfigurations. When user opens the web app they will see a splash screen just like in a native app. ● Theme color - We can specify a theme color to addcolor to the toolbar, address bar and other features. ● Launch style - We can specify display and orientation for the web app. Display options are browser or standalone while orientation is portrait or landscape. To add the Web Manifest to the web page we need to use this code <link rel="manifest" href="/manifest.json">. App Install Banner Mobile Chrome provides an easy way for the web page to prompt a user to install the web app to their home page. This is in addition to the ‘add to home screen’ feature. It helps in increasing accessibility to the app. Native Hardware Access We can program the web to get access to native hardware capabilities. Currently available are: 1. Click to call - Easily link phone numbers for direct dial 2. User location 3. Device orientation
  • 8. 4. Audio/Video recording and playback (Playback is already available in several mobile browsers) Some capabilities are work in progress: 1. Generic sensor API 2. Ambient light sensor 3. Proximity sensor 4. Accelerometer Sensor 5. Gyroscope Sensor 6. Magnetometer Sensor 7. Vibration 8. Battery status 9. Wake lock These native hardware capability access standards are again managed by W3C. Web Payment API Web payment standards developed by W3C group called Web Payment Working Group (WPWG) improve the current online payment mechanism. This is important to cut average shopping cart abandonment rate, which stays at 69% across all devices. It is even higher for mobile devices.
  • 9. Web Payment API will cut the steps and increase the reliability for online payment. A single tap makes it the best way for a user to complete their transaction. Another forum called Web Payments Interest Group (WPIG), which consists of finance, mobile and web industry entities, contributes actively in shaping up the Web Payment standards. Credential API Credential API aims to reduce the form filling for login information by a user. It enables the web to use device accounts for one tap and auto log-in and further improves the user experience.
  • 10. Investing in Progressive Web Apps – the Business Logic Investment in progressive web app is critical for an organization’s mobile strategy to succeed in the long run. The Web is device independent and it gives the opportunity to explore an app without installing anything. Progressive web apps will reduce the feature gap between native apps and web appsin a short while. There are a few important matrices which motivate us to start investing in progressive web apps.
  • 11. Increased Reach Google Chrome has announced about 1 billion active monthly mobile users in just 4 years of its first release. Expectedly there will be even more tremendous rapid growth on the mobile web. ComScore recently released data which says users are spending 2.5 x times on mobile web apps vs the top 1000 native/hybrid apps.
  • 12. Lower Acquisition Costs Google worked with several companies like Flipkart and AliExpressfor their progressive web app strategy and helped them build a better mobile web presence. One of the key matrixes for any marketing team is the average customer acquisition cost. Seliodeclared that their average customer acquisition cost for progressive web apps is a whopping 10 times lesser than for native apps.
  • 13. Improved Conversion Conversion is another key matrix which explains the actual transactions made by acquired customers. AliExpress revamped their mobile web presence with progressive web app. Very soon, they saw a huge 82 % more conversion on iOS devicesfollowing an improvement in their mobile web presence They have also experienced a 2X increase in pageviews and 74% more time spent on mobile web.. Hence it is critical for businesses to continue investing in progressive mobile web apps.
  • 14. Conclusion Progressive web app may look like a buzz word around improved web standards and few mobile friendly web design patterns. But we can't deny the positive impact it can bring on businesses and users. Progressive web app bring some features and improvement for mobile web which was only available for native app in past. Lower cost of development and maintenance as well as ease of distribution will taint on the position of native app in near future. Native app will not go away but it's significance will take a toll as progressive web app will progress.
  • 15. We can start leveraging progressive web app standards and design patterns in any domain/verticals mobile web offering.Magic Software can assist organizations with their progressive mobile web app strategy. References 1. Google progressive web app developer home page 2. Progressive Web App Dev Summit videos playlist 3. JavaScript Service Worker article 4. W3C ServiceWorker standard 5. W3C Push API specification 6. W3C Notification API specification 7. W3C web app manifest specification 8. Indexdb API specification 9. Promise design pattern 10. W3C native hardware capability access standards 11. W3C web payment API specification 12. W3C credential API specification Copyright attribution Few graphs and images have been grabbed from progressive web app summit 2016 event videos. All logos and trademarks are copyright of their respective owner.