Progressive Web Apps consist of a new palette of technologies such as the Web App Manifest, homescreen install support, Service Workers and the app shell. These bridge the gap between native and web apps offering new capabilities for web developers to create amazing desktop and mobile experiences.
8. Why Native Apps are a Gamble
● 60% of apps in the Google Play app store have never been downloaded.
● The average user downloads less than 3 apps per month. Half of US
smartphone users download zero apps per month.
● Mobile users spend most of their time in apps, but 94% of app revenue
comes from 1% of publishers, and users spend 80% of their time using just
5 apps.
● 80% of users who download an app fail to become active users.
● Worried about missing out on app store revenue? In app purchases are
where the money is at, and you can do that in your own app without
splitting costs with Apple or Google.
9. Meanwhile, more than half of all web traffic comes
from mobile. In other words, instead of downloading
your app, users are using top apps like Facebook,
Instagram, and Snapchat or browsing the web.
22. HTML5 Web Storage
Compatibility Everywhere!
Size 2.5-5MB
Data-type String
Pros Simple, Not transmitted, Compatible
Cons Unstructured data, Slow access
23. WebSQL
Compatibility Chrome, Safari, Opera, Strong mobile
support
Size 2.5-5MB
Data-type String
Pros Asynchronous, Great search speed
Cons Deprecated, Steep learning curve,
Schema pre-defined
24. IndexedDB
Compatibility Modern browsers
Size 10-20% of available space (browser
specific)
Data-type JS Object
Pros Asynchronous, Large dataset
Cons Steep learning curve, Complicated while
implementing
25. Storage Options
Cookies (Very Limiting)
HTML5 Local Storage (Limited Size)
WebSQL (Deprecated)
IndexedDB (Limited Support)
26. Storage Options
Cookies (Very Limiting)
HTML5 Local Storage (Limited Size)
WebSQL (Deprecated)
IndexedDB (Limited Support)
30. Service Worker
Separate Thread
Intercept Network Requests
Functional Events (fetch, push, sync)
Application Cache
Strict Rules
Bad Versioning
Cannot Update Small Areas
31.
32.
33.
34.
35. No DOM Access
No Page
Global Script Context
HTTPS
Run Without a Page!!
Event-driven