UPDATED 14:09 EDT / 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 open free content by sharing and engaging with our content and community.

Join theCUBE Alumni Trust Network

Where Technology Leaders Connect, Share Intelligence & Create Opportunities

11.4k+  
CUBE Alumni Network
C-level and Technical
Domain Experts
15M+ 
theCUBE
Viewers
Connect with 11,413+ industry leaders from our network of tech and business leaders forming a unique trusted network effect.

SiliconANGLE Media is a recognized leader in digital media innovation serving innovative audiences and brands, bringing together cutting-edge technology, influential content, strategic insights and real-time audience engagement. As the parent company of SiliconANGLE, theCUBE Network, theCUBE Research, CUBE365, theCUBE AI and theCUBE SuperStudios — such as those established in Silicon Valley and the New York Stock Exchange (NYSE) — 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 powerful ecosystem of industry-leading digital media brands, with a reach of 15+ million elite tech professionals. The company’s 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.