Moving seamlessly through offline and online
summary
Builds a working offline-first web app that stores jokes locally with IndexedDB via PouchDB, persists edits with debounce and the changes feed, and replicates to CouchDB (used with Docker) so data survives reloads and devices. Uses Hood.ie principles, appcache for distribution (with its many gotchas), and shows PouchDB + CouchDB replication in action; demo syncs to the server — literally sync in three lines of code — and the app works as claimed.
AI-written summary · about
chapters (13)
- 0:00Start
- 4:48Proposal for Doing Better at Offline
- 5:38Offline Environment
- 6:44Build an Offline First App
- 7:54Persistent Data
- 9:03Couchdb
- 15:07What Is Local Sequence
- 19:06Databases
- 25:15Manifest File
- 26:37Web Server
- 28:11User Interface
- 28:47Google Chrome
- 35:15Protects from Service Interruptions
related talks
14mOffline first applications, syncing with PouchDB & CouchDB
49mOfflineFirst Apps with PouchDB and CouchDB
30mOffline First: Making Your App Awesome When the Network Isn't
51mCouchDB, PouchDB and Offline-Tolerant Apps
31mI'm offline, cool! What now?
45mOffline First (Web) Apps
39mSay Hello to Offline First
17mImmutable offline webapps
