The web is getting pushy
summary
Builds a tiny live app: Node + Express backend, Twitter streaming API and Server‑Sent Events to the page, EventSource and template strings client‑side, then registers a Service Worker, subscribes via the pushManager and sends the subscription ID to the server. Uses GCM (Google Cloud Messaging) for delivery, fetch and Promises inside the worker, showNotification and notificationclick to open the site. Requires HTTPS or localhost. The demo composes the worker in about 17 lines of code and mostly works in Chrome with some cross‑browser limits.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:55Encoding
- 5:20Notifications
- 9:46Real notifications
- 14:05Service Worker
- 18:05Service Worker Demo
- 27:15Function Demo
related talks
34mThe web is getting pushy
38mThe web is getting pushy
23mWhen Push Comes to Web
58mService workers - beyond the cache
42mWeb Push Notification
33mThe New Mobile Web: Service Worker, Push, and App Manifests
01h 00mService Worker: Bringing Native App Experience to Web Apps
20mEngage your Website Users with Push Notifications
