Service workers integration with Decoupled Drupal

piyuesh23
saki007ster

Rich offline experiences, periodic background syncs, push notifications— functionality that would normally require a native application—are coming to the web. Service workers provide the technical foundation that all these features will rely on.

Service worker is collection of APIs, that come together to give web applications a set of new and richer capabilities that brings it on par and in cases like offline support trumps over native capabilities.

In Drupal Ecosystem this is still unexplored. In this session we will dig into the foundations of services workers api with demos and code walk throughs. Also we will do a deep dive into internals to see how we can use it with Drupal 8 for a rich user experience. We will also be talking aorund how an app shell architecture & Progressive Web App concept is a better fit for Decoupled Drupal implementaion.

OutLine of this session - 

  1. Service Worker Standalone

    •  Background and capabilities

    •  Set up for your application

    •  Service workers - LifeCycle

    •  Updating a Service worker

    •  Browser Compatibility

  2. Demos - To show what we can do using service workers api

    •  Implementing push notifications

    •  Offline Web Experience

    •  Background Sync

  3. Integration possibilities with Drupal 8.

P.S -- There were a few questions around this session at Drupal con New Orleans about implementing it in a Headless way. Also, implementing it under App shell architecture. This session will be aimed at resolving all those queries as well.

Audience Level - This session would be a mixed beginner and intermidiate level.

Session Track

Horizons

Experience Level

Intermediate

Drupal Version