the progressive web and its new challenges - confoo montréal 2017

55
The Progressive Web and its New Challenges Chris Heilmann @codepo8, Confoo Montréal, February 2017

Upload: christian-heilmann

Post on 12-Apr-2017

690 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: The Progressive Web and its New Challenges - Confoo Montréal 2017

The Progressive Web and its New Challenges

Chris Heilmann @codepo8, Confoo Montréal, February 2017

Page 2: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVEWEBAPPS

Page 3: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Future facing - looking into solving upcoming problems.

Page 4: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Not set in stone - improves over time.

Page 5: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Not relying on an environment…

Page 6: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Start with the most basic use case and interface…

Page 7: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Improved experiences in advanced environments…

Page 8: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Improved experiences with subsequent visits…

Page 9: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The web has always been a progressive environment…

Page 10: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

We have forgotten about that as we have become used to it…

Page 11: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

We’re building on great hardware with fast connections…

Page 12: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Developer convenience and fast turnaround trumps too often end user experience…

Page 13: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

When the mobile factor became the main use of the web, the web showed its issues…

Page 14: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Unreliable browser support for accessing mobile hardware…

Page 15: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Doesn’t work offline

Page 16: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Feels like a burden to support all the possible environments users may have…

Page 17: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Native Apps promised to solve all these issues.

Page 18: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

They work offline, they give you access to the hardware, they give you control over what the user can do.

Page 19: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

A bespoke solution for a closed environment.

Page 20: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Which means, its own issues…

Page 21: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The “App revolution” isn’t something worth mimicking…

Page 22: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Native apps as a form factor have failed and are only kept alive by VC injections and hype…

Page 23: The Progressive Web and its New Challenges - Confoo Montréal 2017

Users spend 80% of their time using just 5 apps.

marketingland.com/report-mobile-users-spend-80-percent-time-just-five-apps-116858

“PROGRESSIVE WEB APPS

Page 24: The Progressive Web and its New Challenges - Confoo Montréal 2017

80% of users who download an app fail to become active users.

http://andrewchen.co/new-data-shows-why-losing-80-of-your-mobile-users-is-normal-and-that-the-best-apps-do-much-better/

“PROGRESSIVE WEB APPS

Page 25: The Progressive Web and its New Challenges - Confoo Montréal 2017

…of the >1.5 million apps in the Google Play store, only a few thousand sustain meaningful traffic.

http://andrewchen.co/new-data-shows-why-losing-80-of-your-mobile-users-is-normal-and-that-the-best-apps-do-much-better/

“PROGRESSIVE WEB APPS

Page 26: The Progressive Web and its New Challenges - Confoo Montréal 2017

94% of app revenue comes from 1% of publishers

https://sensortower.com/blog/app-store-one-percent

“PROGRESSIVE WEB APPS

Page 27: The Progressive Web and its New Challenges - Confoo Montréal 2017

60% of apps in the Google Play app store have never been downloaded.

https://www.youtube.com/watch?v=EUthgV-U05w&t=1m56s

“PROGRESSIVE WEB APPS

Page 28: The Progressive Web and its New Challenges - Confoo Montréal 2017

The average user downloads less than 3 apps per month. Half of US smartphone users download zero apps per month.

http://www.recode.net/2016/9/16/12933780/average-app-downloads-per-month-comscore

“PROGRESSIVE WEB APPS

Page 29: The Progressive Web and its New Challenges - Confoo Montréal 2017

Users try out a lot of apps but decide which ones they want to ‘stop using’ within the first 3-7 days.

http://andrewchen.co/new-data-shows-why-losing-80-of-your-mobile-users-is-normal-and-that-the-best-apps-do-much-better/

“PROGRESSIVE WEB APPS

Page 30: The Progressive Web and its New Challenges - Confoo Montréal 2017

The average app loses its entire userbase within a few months…

http://andrewchen.co/new-data-shows-why-losing-80-of-your-mobile-users-is-normal-and-that-the-best-apps-do-much-better/

“PROGRESSIVE WEB APPS

Page 31: The Progressive Web and its New Challenges - Confoo Montréal 2017

Native app install friction blocks 74% of your potential customers before they ever see your app.

http://andrewchen.co/new-data-shows-why-losing-80-of-your-mobile-users-is-normal-and-that-the-best-apps-do-much-better/

“PROGRESSIVE WEB APPS

Page 32: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

And even the money isn’t what we’ve been promised…

Page 33: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

▶ Pricing race to the bottom (99 cents) ▶ Lock-in into the store with its own rules

and restrictions ▶ Revenue share with store/OS provider ▶ Updates are hard and may be delayed

by the store rules

Page 34: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

It is time to rethink the concept of Apps and their distribution outside of stores…

Page 35: The Progressive Web and its New Challenges - Confoo Montréal 2017

▶ Frictionless installs / updates ▶ Small initial payload ▶ Form factor supporting content and

interfaces ▶ Offline/Flaky connection support ▶ Using the power of the device

PROGRESSIVE WEB APPS

Page 36: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

And that is what Progressive Web Apps are…

Page 37: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The distribution model is the link…

Page 38: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The technology stack is web standards that progressed…

Page 39: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The first step is to harden your servers by moving away from HTTP to more secure protocols.

Page 40: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The second step is providing an App Manifest.

https://developer.mozilla.org/en-US/docs/Web/Manifest

Page 41: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

▶ Describes document as an app ▶ Defines look and feel (fullscreen, colours,

screen orientation) ▶ Access to platform-specific functionality ▶ Standardised version of older, similar

approaches

App Manifest

Page 42: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The big breakthrough is a Service Worker…

https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API

Page 43: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Service Worker▶ Intercept fetch events, respond with cache ▶ Intercept push events ▶ Intercept sync/periodic events▶ Offline ▶ Push notifications ▶ Background Sync

Page 44: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Great things are happening here. Google, Mozilla, Microsoft, Apple, Samsung, all take part in this…

Page 45: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

So what does that mean for you right now?

Page 46: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

The web is coming back – big time.

Page 47: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Time to brush up what you have and slim it down…

Page 48: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

It means you will reach lots of of new users on badly connected devices without locking them out.

Page 49: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

And you make your current products work more reliably for everybody.

Page 50: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

This is proper web technology - you can try it out in parts of your products and move the rest later.

Page 51: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Search engines can find your solutions and flag them up as PWAs (indexing manifests).

Page 52: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

As with any web technology, a lot can be automated…http://www.pwabuilder.com

Page 53: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

Don’t wait, don’t waste more time on duplicating efforts for closed environments…

Page 54: The Progressive Web and its New Challenges - Confoo Montréal 2017

PROGRESSIVE WEB APPS

…when there is a web to be used that keeps you in control!

Page 55: The Progressive Web and its New Challenges - Confoo Montréal 2017

THANKSVERYMUCH

Chris Heilmann @codepo8

christianheilmann.com