PyCon 2016 in Portland, Or
hills next to breadcrumb illustration

Tuesday 10:50 a.m.–11:20 a.m.

The New Mobile Web: Service Worker, Push, and App Manifests

Dan Callahan

Audience level:
Intermediate
Category:
Web Frameworks

Description

Compared to native apps, mobile websites are at a disadvantage: no installing, no push notifications, and they only work when you're online. This year, that changes. Browser vendors are working together to implement open standards that address each of these shortcomings. This session examines how the Service Worker, Push, and App Manifest specifications fill the gap between web and native.

Abstract

This talk will cover the essence of three new APIs, including: 1. How to use [Service Workers](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/) as a programmable proxy / cache for your website, which allows you to make resources available offline. 2. How to use [Push](https://w3c.github.io/push-api/) to send notifications to your website's users, even when they don't have your site open. 3. How to use a [Web App Manifest](https://w3c.github.io/manifest/) to make your site installable, just like a native app. We'll also discuss how, taken together, they allow us to create mobile web experiences that are virtually indistinguishable from native.