OfflineFirst Apps with PouchDB and CouchDB
summary
Demo shows a local PouchDB-powered shopping list that syncs to CouchDB/Cloudant and keeps browsers consistent after offline edits, proving replication actually works live. Service workers cache assets; a live sync with retry and a changes feed pushes updates when network returns. Conflict resolution preserves losing revisions for manual merge; views and Mango queries run server-side for performance. Code lives on GitHub and the demo behaves predictably in tests.
AI-written summary · about
chapters (17)
- 0:00Intro
- 2:15Being Offline
- 8:16PouchDB and CouchDB
- 16:01NoSQL Document Database
- 18:17Document Databases
- 21:37Data Design for PouchDB
- 25:16Curl and Not-Curl
- 30:19Changes Feed
- 30:59Replication
- 32:31Conflicts
- 38:19Mango: CouchDB Queries
- 39:07Mango: Example Query
- 39:54Mango: Indexes
- 43:21MapReduce Primer: Map
- 45:45MapReduce Primer: Reduce
- 47:26Example Apps
- 48:02Resources
related talks
51mCouchDB, PouchDB and Offline-Tolerant Apps
30mOffline First: Making Your App Awesome When the Network Isn't
14mOffline first applications, syncing with PouchDB & CouchDB
38mMoving seamlessly through offline and online
31mI'm offline, cool! What now?
45mOffline First (Web) Apps
39mSay Hello to Offline First
25mOffline-first data: Getting Bigger
