Speaker Deck

The web is getting pushy - At The Frontend 2015

by Phil Nash

Published May 27, 2015 in Programming

See the code from this talk: https://github.com/philnash/the-web-is-getting-pushy

The battle between native and web rages on. The browsers are fighting hard to tear down the benefits that native developers have relied on since the inception of mobile platforms. Geolocation, sorted. Accelerometer, done. Performance, we’ll come back to that. But one of the greatest draws for native developers has been push notifications, for the web, email alerts just don’t cut it.

But now, new in browsers for 2015, is the Service Worker. Born out of the struggle to make the Appcache work for offline capable sites it has also brought the advent of push notifications to the web. Through building up an example application live we will see how to implement the Service Worker to not only serve up an app when we’re offline but enhance the online experience with push notifications.

The battle may continue, but the web is definitely pushing back.

---

Links:

Is service worker ready?
https://jakearchibald.github.io/isserviceworkerready/

status.modern.ie
https://status.modern.ie/

Introduction to Service Worker
http://www.html5rocks.com/en/tutorials/service-worker/introduction/

Push Notifications on the Open Web
http://updates.html5rocks.com/2015/03/push-notificatons-on-the-open-web