CouchDB, PouchDB and Offline-Tolerant Apps
summary
CouchDB is presented as a fault-tolerant JSON document store with an HTTP API, changes feed for replication, and MapReduce/Javascript views; Mango provides ad-hoc queries but needs indexes to avoid full scans. A browser-side PouchDB shopping list demo shows a local DB that does two-way sync with CouchDB, survives being offline, and reconciles simultaneous edits using deterministic conflict resolution (loser revisions remain queryable). The demo runs end-to-end (with expected live-demo delays) and recommends per-database access control and background syncing.
AI-written summary · about
chapters (15)
- 0:00Intro
- 2:08Document Databases Store collections of schemaless documents
- 4:20CouchDB Cluster Of Unreliable Commodity Hardware
- 7:42CouchDB HTTP API
- 8:44Curl and Not-Curl • love curl? ( haxx.se/)
- 11:04Try http-console
- 17:43Changes Feed A feed containing all database changes. GET /_changes
- 21:11Conflicts
- 25:11Mango: CouchDB Queries
- 25:56Mango: Example Query
- 27:46Mango: Indexes
- 29:35MapReduce Primer: Map
- 34:01MapReduce Primer: Reduce
- 35:40Views Example
- 42:22PouchDB: Replication
related talks
49mOfflineFirst Apps with PouchDB and CouchDB
14mOffline first applications, syncing with PouchDB & CouchDB
30mOffline First: Making Your App Awesome When the Network Isn't
38mMoving seamlessly through offline and online
31mI'm offline, cool! What now?
30mWriting apps on the edge with CouchDB
01h 02mNext Generation Data Storage with CouchDB
25m4 Way Data Binding with Angular & PouchDB
