SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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.

Weitere ähnliche Inhalte

Was ist angesagt?

Mobile app development
Mobile app developmentMobile app development
Mobile app developmentSanjay Kumar
 
Mobile Application Development
Mobile Application Development Mobile Application Development
Mobile Application Development nandhini seo
 
Mobile Web vs. Native apps
Mobile Web vs. Native appsMobile Web vs. Native apps
Mobile Web vs. Native appsSoDA Speaks
 
Progressive Web Apps –The Future of Apps
Progressive Web Apps –The Future of Apps   Progressive Web Apps –The Future of Apps
Progressive Web Apps –The Future of Apps Ashish Saxena
 
Accelerated Mobile Pages (AMP)
Accelerated Mobile Pages (AMP)Accelerated Mobile Pages (AMP)
Accelerated Mobile Pages (AMP)Sanjay Kumar
 
Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...
Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...
Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...Happiest Minds Technologies
 
Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...
Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...
Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...engineermaste solution
 
IJSRED-V2I5P23
IJSRED-V2I5P23IJSRED-V2I5P23
IJSRED-V2I5P23IJSRED
 
Server driven user interface (sdui) – framework for i os applications!
Server driven user interface (sdui) – framework for i os applications!Server driven user interface (sdui) – framework for i os applications!
Server driven user interface (sdui) – framework for i os applications!Azilen Technologies Pvt. Ltd.
 
Best cross platform app development frameworks for 2021
Best cross platform app development frameworks for 2021Best cross platform app development frameworks for 2021
Best cross platform app development frameworks for 2021Omega_UAE
 
Mobile app development converted
Mobile app development convertedMobile app development converted
Mobile app development convertedSandy Gupta
 
PWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
PWA ( Progressive Web Apps ) - Sai Kiran KasireddyPWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
PWA ( Progressive Web Apps ) - Sai Kiran KasireddySai Kiran Kasireddy
 
Mobility testing day_1_ppt
Mobility testing day_1_pptMobility testing day_1_ppt
Mobility testing day_1_pptsayhi2sudarshan
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App DevelopmentChris Morrell
 
Hybrid Smart phone application development analysis
Hybrid Smart phone application development analysisHybrid Smart phone application development analysis
Hybrid Smart phone application development analysisSandeep Krishna
 
Know the Cost to Build React Native App in 2021
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 2021Katy Slemon
 
Baobab WebSuite overview - Publisher's Toolbox
Baobab WebSuite overview - Publisher's ToolboxBaobab WebSuite overview - Publisher's Toolbox
Baobab WebSuite overview - Publisher's ToolboxPublisher's Toolbox
 

Was ist angesagt? (20)

PWA demystified
PWA demystifiedPWA demystified
PWA demystified
 
Mobile app development
Mobile app developmentMobile app development
Mobile app development
 
Mobile Application Development
Mobile Application Development Mobile Application Development
Mobile Application Development
 
Mobile Web vs. Native apps
Mobile Web vs. Native appsMobile Web vs. Native apps
Mobile Web vs. Native apps
 
Progressive Web Apps –The Future of Apps
Progressive Web Apps –The Future of Apps   Progressive Web Apps –The Future of Apps
Progressive Web Apps –The Future of Apps
 
Accelerated Mobile Pages (AMP)
Accelerated Mobile Pages (AMP)Accelerated Mobile Pages (AMP)
Accelerated Mobile Pages (AMP)
 
Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...
Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...
Whitepaper: Dealing with the Dilemma: Mobile App Development Approach & Decis...
 
Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...
Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...
Why Hybrid Mobile Applications is Best for Your Business, Engineer Master Sol...
 
IJSRED-V2I5P23
IJSRED-V2I5P23IJSRED-V2I5P23
IJSRED-V2I5P23
 
Server driven user interface (sdui) – framework for i os applications!
Server driven user interface (sdui) – framework for i os applications!Server driven user interface (sdui) – framework for i os applications!
Server driven user interface (sdui) – framework for i os applications!
 
Good app ideas
Good app ideasGood app ideas
Good app ideas
 
Best cross platform app development frameworks for 2021
Best cross platform app development frameworks for 2021Best cross platform app development frameworks for 2021
Best cross platform app development frameworks for 2021
 
Mobile app development converted
Mobile app development convertedMobile app development converted
Mobile app development converted
 
PWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
PWA ( Progressive Web Apps ) - Sai Kiran KasireddyPWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
PWA ( Progressive Web Apps ) - Sai Kiran Kasireddy
 
Mobility testing day_1_ppt
Mobility testing day_1_pptMobility testing day_1_ppt
Mobility testing day_1_ppt
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App Development
 
Hybrid Smart phone application development analysis
Hybrid Smart phone application development analysisHybrid Smart phone application development analysis
Hybrid Smart phone application development analysis
 
Know the Cost to Build React Native App in 2021
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
 
Baobab WebSuite overview - Publisher's Toolbox
Baobab WebSuite overview - Publisher's ToolboxBaobab WebSuite overview - Publisher's Toolbox
Baobab WebSuite overview - Publisher's Toolbox
 
Progressive Web Apps - deep dive
Progressive Web Apps - deep diveProgressive Web Apps - deep dive
Progressive Web Apps - deep dive
 

Andere mochten auch

Planning Digital Learning for K-12 Classroom
Planning Digital Learning for K-12 ClassroomPlanning Digital Learning for K-12 Classroom
Planning Digital Learning for K-12 ClassroomMagic Software
 
Propuesta comercial movistar wilson cantor
Propuesta comercial movistar wilson cantorPropuesta comercial movistar wilson cantor
Propuesta comercial movistar wilson cantorwilsonsantafe
 
A list of the best 50 medical schools in the world
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
 
Digital Education: Scope and Challenges of a Developing Society
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
 
Making Learning Products Accessible
Making Learning Products AccessibleMaking Learning Products Accessible
Making Learning Products AccessibleMagic Software
 

Andere mochten auch (7)

Planning Digital Learning for K-12 Classroom
Planning Digital Learning for K-12 ClassroomPlanning Digital Learning for K-12 Classroom
Planning Digital Learning for K-12 Classroom
 
Propuesta comercial movistar wilson cantor
Propuesta comercial movistar wilson cantorPropuesta comercial movistar wilson cantor
Propuesta comercial movistar wilson cantor
 
Brochure
BrochureBrochure
Brochure
 
A list of the best 50 medical schools in the world
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
 
Digital Education: Scope and Challenges of a Developing Society
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
 
Making Learning Products Accessible
Making Learning Products AccessibleMaking Learning Products Accessible
Making Learning Products Accessible
 
CV Nader Mouelhi
CV Nader MouelhiCV Nader Mouelhi
CV Nader Mouelhi
 

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

Web Application Development in 2023.pdf
Web Application Development in 2023.pdfWeb Application Development in 2023.pdf
Web Application Development in 2023.pdfTechugo
 
Progressive web apps For e-Commerce- How do they go hand-in-hand?
Progressive web apps For e-Commerce- How do they go hand-in-hand?Progressive web apps For e-Commerce- How do they go hand-in-hand?
Progressive web apps For e-Commerce- How do they go hand-in-hand?ShantanuApurva1
 
What Are Progressive Web Application Development
What Are Progressive Web Application DevelopmentWhat Are Progressive Web Application Development
What Are Progressive Web Application DevelopmentApp Verticals
 
Web Application Development- Best Practices in 2023.
Web Application Development- Best Practices in 2023.Web Application Development- Best Practices in 2023.
Web Application Development- Best Practices in 2023.Techugo
 
How OutSystems Accelerates PWA Development
How OutSystems Accelerates PWA DevelopmentHow OutSystems Accelerates PWA Development
How OutSystems Accelerates PWA DevelopmentLCDF
 
PWA Development Guide_ Creating Progressive Web Apps.pdf
PWA Development Guide_ Creating Progressive Web Apps.pdfPWA Development Guide_ Creating Progressive Web Apps.pdf
PWA Development Guide_ Creating Progressive Web Apps.pdfLucas Lagone
 
Planning Your Progressive Web App
Planning Your Progressive Web AppPlanning Your Progressive Web App
Planning Your Progressive Web AppJason Grigsby
 
Progressive web apps for e commerce
Progressive web apps for e commerceProgressive web apps for e commerce
Progressive web apps for e commerceShantanuApurva1
 
Web application development full &amp; detailed guide for 2022
Web application development  full &amp; detailed guide for 2022Web application development  full &amp; detailed guide for 2022
Web application development full &amp; detailed guide for 2022Metricoid Technology
 
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdfA Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdfWDP Technologies
 
The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptAsad Majeed
 
Introduction of Progressive Web App
Introduction of Progressive Web AppIntroduction of Progressive Web App
Introduction of Progressive Web AppSankalp Khandelwal
 
Web Based Vs Cloud Based Apps Complete Comparison.pdf
Web Based Vs Cloud Based Apps Complete Comparison.pdfWeb Based Vs Cloud Based Apps Complete Comparison.pdf
Web Based Vs Cloud Based Apps Complete Comparison.pdfLaura Miller
 
Web Application Development Cost.pdf
Web Application Development Cost.pdfWeb Application Development Cost.pdf
Web Application Development Cost.pdfSimform
 
Home management WebApp presentation
Home management WebApp presentationHome management WebApp presentation
Home management WebApp presentationbhavesh singh
 
Executive Overview of OutSystems (1)
Executive Overview of OutSystems (1)Executive Overview of OutSystems (1)
Executive Overview of OutSystems (1)Steven Levine
 

Ähnlich wie Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence (20)

Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web App
 
Web Application Development in 2023.pdf
Web Application Development in 2023.pdfWeb Application Development in 2023.pdf
Web Application Development in 2023.pdf
 
Progressive web apps For e-Commerce- How do they go hand-in-hand?
Progressive web apps For e-Commerce- How do they go hand-in-hand?Progressive web apps For e-Commerce- How do they go hand-in-hand?
Progressive web apps For e-Commerce- How do they go hand-in-hand?
 
What Are Progressive Web Application Development
What Are Progressive Web Application DevelopmentWhat Are Progressive Web Application Development
What Are Progressive Web Application Development
 
Web Application Development- Best Practices in 2023.
Web Application Development- Best Practices in 2023.Web Application Development- Best Practices in 2023.
Web Application Development- Best Practices in 2023.
 
How OutSystems Accelerates PWA Development
How OutSystems Accelerates PWA DevelopmentHow OutSystems Accelerates PWA Development
How OutSystems Accelerates PWA Development
 
PWA Development Guide_ Creating Progressive Web Apps.pdf
PWA Development Guide_ Creating Progressive Web Apps.pdfPWA Development Guide_ Creating Progressive Web Apps.pdf
PWA Development Guide_ Creating Progressive Web Apps.pdf
 
Planning Your Progressive Web App
Planning Your Progressive Web AppPlanning Your Progressive Web App
Planning Your Progressive Web App
 
Progressive web apps for e commerce
Progressive web apps for e commerceProgressive web apps for e commerce
Progressive web apps for e commerce
 
Web application development full &amp; detailed guide for 2022
Web application development  full &amp; detailed guide for 2022Web application development  full &amp; detailed guide for 2022
Web application development full &amp; detailed guide for 2022
 
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdfA Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
 
Checklist for progressive web app development
Checklist for progressive web app developmentChecklist for progressive web app development
Checklist for progressive web app development
 
The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.ppt
 
Introduction of Progressive Web App
Introduction of Progressive Web AppIntroduction of Progressive Web App
Introduction of Progressive Web App
 
Web Based Vs Cloud Based Apps Complete Comparison.pdf
Web Based Vs Cloud Based Apps Complete Comparison.pdfWeb Based Vs Cloud Based Apps Complete Comparison.pdf
Web Based Vs Cloud Based Apps Complete Comparison.pdf
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 
Web Application Development Cost.pdf
Web Application Development Cost.pdfWeb Application Development Cost.pdf
Web Application Development Cost.pdf
 
Home management WebApp presentation
Home management WebApp presentationHome management WebApp presentation
Home management WebApp presentation
 
Executive Overview of OutSystems (1)
Executive Overview of OutSystems (1)Executive Overview of OutSystems (1)
Executive Overview of OutSystems (1)
 
Fundamentals of Mobile App Development Technology
Fundamentals of Mobile App Development TechnologyFundamentals of Mobile App Development Technology
Fundamentals of Mobile App Development Technology
 

Kürzlich hochgeladen

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 

Kürzlich hochgeladen (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

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.