The Web Platform
March 7–8, 2016: Training
March 8–10, 2016: Conference
San Francisco, CA

Offline-first apps with PouchDB

Bradley Holt (IBM)
4:30pm–5:00pm Thursday, 03/10/2016
Data and storage Club Room
Average rating: ****.
(4.00, 6 ratings)

Prerequisite knowledge

Attendees should have a working knowledge of modern JavaScript programming.


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.

Photo of Bradley Holt

Bradley Holt


Bradley Holt leads a team of developer advocates at IBM who are democratizing data and AI through open source technologies. His team’s work includes helping developers integrate open source deep learning models into their applications, ensuring trustworthiness and transparency from AI systems, promoting open standards for the deployment and operationalization of AI systems, and enabling better collaboration between developers, data scientists, and data engineers.