The Right Choice

When is the Web the right answer —and why?

Index

  1. The Web as a platform
  2. So, what's stopping the Web?
  3. Progressive Web Applications
  4. Successful examples
  5. Resources and credits
XKCD's Installing

Web vs Native

Batman vs. Superman

C'mon! Both are superheroes!

Nope, this is not the way…

The Web as a platform

The Web is not

  • An operating system
  • A hardware specification

The Web is

  • An unprecedent effort of consensus
  • A virtual machine for HTML5
  • A free model of content distribution

Interoperability

Unique visitors milestones

Source: 2015 U.S. Mobile App Report

Confluence of factors is driving the huge uptick in app usage time, and apps are overtaking other media in importance. However, it’s also important to recognize the others haven’t gone away and the opportunity lies in multi-platform engagement.

—2015 U.S. Mobile Report Opportunities Key Points

Lack of friction

Every step costs you 20% of users

Source: Every Step Costs you 20% of Users

So, what's stopping the Web?

User experience

Dependency on connectivity

Dinosaur game in Chrome

Dependency on network speed

Time a user can wait before leaving the page

Source: How Loading Time Affects Your Bottom Line

Inability to re-engage the user

Audience vs Loyalty

Source: Every Step Costs you 20% of Users

Performance

Causes making milennia to give up an application

Source: Milennials and mobility, Oracle

Progressive Web Apps

HTML5 is popular:

Percentage of applications using HTML5

Source: Developers Economics 2013 Q3, Vision Mobile

But only inside an application wrapper...

so you are forced to use the marketplace again!

Let's bring the benefits of apps to the Web!

Service Workers

Service Workers are…

  • JavaScript programs
  • Run in a separated thread
  • Independent from the browser to be open
  • Driven by events

Functional Events

Functional Events

Those able to wake up the Service Worker

Fetch

Fetch event
flipkart-offline

Push

Push event
Flipkart notifications

Sync

Sync event

Web Manifest

{
    "name": "Flipkart Lite",
    "short_name": "Flipkart Lite",
    "icons": [
        {
            "src": "https://img1a.flixcart.com/www/linchpin/batman-returns/logo_lite-cbb3574d.png",
            "sizes": "192x192",
            "type": "image/png"
        }
    ],
    "start_url": "/?start_url=homescreenicon",
    "orientation": "portrait",
    "display": "standalone",
    "theme_color": "#006cb4",
    "background_color": "#006cb4"
}

Partial manifest from Flipkart Lite.

Flipkart specifying the theme color
Flipkart splashscreen

Performance

Still worried about performance?

More is coming…

The Right Choice

My recommendation:

  1. Start with the Web
  2. If you have business arguments, go away
  3. If you need access to non available APIs, go away

Now the Web is ready, more than ever!

Successful examples

e-Commerce

  • Flipkart triples time-on-site with Progressive Web App
  • AliExpress increases conversion rate for new users by 104%
  • United eXtra Electronics grows eCommerce sales by 100% with Web Push Notifications
  • Push Notifications help Jumia reverse cart abandonment
  • Konga cuts data usage 92%
  • 5smiles increases conversions 60%

Source: Google showcase

Heroes of Paragon

Daily Average Revenue per User

WebGL matures into a commercial-ready technology

The Web holds 2nd position in DARPU.

Resources and credits

me

Salvador de la Puente González

@salvadelapuente

http://github.com/delapuente

https://delapuente.github.io/presentations/

## Questions?
The Return of the Dark Knight cover

The Return of the Dark Knight Web!