Offline-First Apps with PouchDB at Fluent

Offline-First Apps with PouchDB at Fluent

Web and mobile apps shouldn’t stop working when there’s no network connection. Bradley Holt demonstrates how to use the HTML5 offline application cache, PouchDB, and CouchDB to build offline-enabled responsive mobile and web apps.

Based on Apache CouchDB, PouchDB is an open source syncing JavaScript database that runs within a web browser. Offline-first apps built using PouchDB can provide a better, faster user experience—both on- and offline. Bradley discusses how to use PouchDB with Cordova/PhoneGap, Ionic, and CouchDB to build fully-featured, cross-platform native/hybrid apps or high-fidelity prototypes. PouchDB can also be run within Node.js and on devices for Internet of Things (IoT) applications.

Bradley provides code examples for creating a PouchDB database, creating a new document, updating a document, deleting a document, querying a database, syncing PouchDB with a remote database, and live updates to a user interface based on database changes. Bradley will also discuss user-interface patterns for offline-first apps.

8896271ee9d6f46d4b1783c9566cb645?s=128

Bradley Holt

March 10, 2016
Tweet