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, which offer rich offline experiences similar to native apps while maintaining the ease of use and shareability of web apps. Explore the challenges of building offline-capable applications and the solutions provided by PWA technologies. Gain insights into implementing PWA features using Rails 7's new front-end tools, including adding routes, service workers, and manifests. Delve into Workbox Strategies, offline fallbacks, IndexedDB, and the Background Sync API. Suitable for entry-level developers, this talk covers key takeaways, further opportunities, and provides valuable resources for building 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
Confreaks