PouchDB, the Database that Syncs

PouchDB, the Database that Syncs

A presentation by Tom Wilson at Syntax Conference 2018 in Charleston, SC

C3242e8c2ab4bd8922b125ae5589e443?s=128

Syntax Conference

June 07, 2018
Tweet

Transcript

  1. The Database that Syncs @twilson63 SyntaxCon 2018 https://bit.ly/2M7Wl0v

  2. About Me Tom Wilson JRS Coding School • 12 Week

    Full Stack JavaScript Course • Open Source Projects and Libraries - github.com/twilson63 • Chief Technology Innovation Officer - Tabula Rasa HealthCare @twilson63 SyntaxCon 2018
  3. What is PouchDB? • JavaScript Database • Inspired by Apache

    CouchDB • Runs in the Browser and NodeJS • Document Database or NoSQL Database • Notification or Changes Feed • Can replicate @twilson63 SyntaxCon 2018
  4. Why PouchDB? • Why use a database in the Browser?

    • Why replication? • Why NoSQL? @twilson63 SyntaxCon 2018
  5. Offline First @twilson63 SyntaxCon 2018

  6. What is offline first? Offline capability is a key characteristic

    of modern Progressive Web Applications. Offline first thinking must learn from and further what we’ve seen work with Responsive and Mobile First thinking. http://offlinefirst.org/ @twilson63 SyntaxCon 2018
  7. None
  8. Apache CouchDB • PouchDB is able to sync with CouchDB

    • CouchDB uses the http protocol - the protocol of the web • CouchDB treats sync as a first class citizen • PouchDB is able to act as a driver for CouchDB @twilson63 SyntaxCon 2018
  9. Demo @twilson63 SyntaxCon 2018

  10. Things to Know • Browser Db Sizes ◦ https://pouchdb.com/faq.html#data_limits •

    Security ◦ CouchDB - https://github.com/colinskow/superlogin ◦ ExpressJS - Proxy • Configure Revisions ◦ @twilson63 SyntaxCon 2018
  11. Use Cases When should I reach for PouchDB? @twilson63 SyntaxCon

    2018
  12. Prototyping @twilson63 SyntaxCon 2018

  13. @twilson63 Data - PouchDB State View SyntaxCon 2018

  14. Offline Availability (Local Data Caching) @twilson63 SyntaxCon 2018

  15. @twilson63 SyntaxCon 2018

  16. Increased UX (Local Searching and Lookups) @twilson63 SyntaxCon 2018

  17. CouchDB Cloudant or Self Hosted @twilson63 SyntaxCon 2018

  18. Alternate Persistence https://github.com/twilson63/mysql-down @twilson63 SyntaxCon 2018

  19. Q and A @twilson63 SyntaxCon 2018

  20. Thank You @twilson63 SyntaxCon 2018

  21. Resources • https://pouchdb.com/ • https://github.com/twilson63/OpenSource-101-PouchDB • https://pouchdb.com/learn.html • http://offlinefirst.org/ @twilson63

    SyntaxCon 2018