UPDATED 14:09 EST / JULY 17 2013

NEWS

Introducing PouchDB: The JavaScript database that Syncs

There are so many JavaScript caching database around, but if you are looking for something new and dynamic, go for PouchDB. This new minimalist JavaScript database allows you to build applications that work both offline and online. Besides, applications save data locally allowing you to use an app even offline, and synchronize data between clients so you have up to date data wherever you go. Isn’t it great?

PouchDB is Open Source, JavaScript minimal library, inspired by Apache CouchDB. The best part is that it is lightweight and easily embeddable. In fact, it is just a script tag. You can easily install it.

On web page:

Installation is simple, and putting it into the HTML of the website looks like this:

<script src="pouchdb-nightly.min.js"></script>

Once in place, it becomes easy to make use of the library to snychronize with the backend as needed.

On Node.js:

$ npm install pouchdb

Just as simple for Node.js.

For a HTTP API to PouchDB:

Check out PouchDB Server for HTTP support for Node.js; but this is a cross-platform library with availability for multiple platforms.

PouchDB uses various backends, such as IndexedDB in Firefox and Chrome, WebSQL in Safari and Opera and LevelDB in Node.js. It has been tested in different browsers:

  • Firefox 12+
  • Chrome 19+
  • Opera 12+
  • Safari 5+
  • Node.js 0.10+
  • Apache Cordova
  • Internet Explorer 10+

If you’re interested in how to get started with PouchDB, there is a getting-started document to pore over as well as the full API documentation.


A message from John Furrier, co-founder of SiliconANGLE:

Support our mission to keep content open and free by engaging with theCUBE community. Join theCUBE’s Alumni Trust Network, where technology leaders connect, share intelligence and create opportunities.

  • 15M+ viewers of theCUBE videos, powering conversations across AI, cloud, cybersecurity and more
  • 11.4k+ theCUBE alumni — Connect with more than 11,400 tech and business leaders shaping the future through a unique trusted-based network.
About SiliconANGLE Media
SiliconANGLE Media is a recognized leader in digital media innovation, uniting breakthrough technology, strategic insights and real-time audience engagement. As the parent company of SiliconANGLE, theCUBE Network, theCUBE Research, CUBE365, theCUBE AI and theCUBE SuperStudios — with flagship locations in Silicon Valley and the New York Stock Exchange — SiliconANGLE Media operates at the intersection of media, technology and AI.

Founded by tech visionaries John Furrier and Dave Vellante, SiliconANGLE Media has built a dynamic ecosystem of industry-leading digital media brands that reach 15+ million elite tech professionals. Our new proprietary theCUBE AI Video Cloud is breaking ground in audience interaction, leveraging theCUBEai.com neural network to help technology companies make data-driven decisions and stay at the forefront of industry conversations.