Overview
Discover how to transform a standard Rails application into a Progressive Web Application (PWA) in this 37-minute conference talk from RailsConf 2023. Learn about the benefits of PWAs, including rich offline experiences and easy sharing, while exploring the new front-end tools available in Rails 7. Gain insights into implementing service workers, manifests, and companion JavaScript, as well as leveraging Workbox strategies for offline functionality. Explore concepts such as IndexedDB and the Background Sync API to enhance your PWA's capabilities. Suitable for entry-level developers, this talk provides key takeaways, discusses further opportunities, and offers valuable resources for building offline-capable Rails-powered PWAs.
Syllabus
Intro
Alicia Rojas
Overview
What is a PWA?
The challenge
The solution
The ingredients
Add routes
Add service worker and manifest
Write companion JS
Workbox Strategies
Offline fallback
IndexedDB
Background Sync API
Create
Key takeaways
Further oportunities
Resources
Taught by
Ruby Central