By: Dale Harvey
Published: 03 February 2015
A new month means a new PouchDB release. Over the last month we have been looking around the rough edges and cleaning things up or chopping them off along with
[...]
PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser.
PouchDB was created to help web developers build applications that work as well offline as they do online.
It enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.
Learn morevar db = new PouchDB('dbname');
db.put({
_id: 'dave@gmail.com',
name: 'David',
age: 68
});
db.changes().on('change', function() {
console.log('Ch-Ch-Changes');
});
db.replicate.to('http://example.com/mydb');
Works in Firefox, Chrome, Opera, Safari, IE and Node.js
PouchDB is just a script tag and 34KB (gzipped) away in the browser, or $ npm install pouchdb
away
in Node.
Requires some programming knowledge, however PouchDB is a piece of cake to learn.
Everything is developed out in the open on Github, contributors always welcome!
PouchDB 3.3.0: Fix Up, Look Sharp
By: Dale Harvey
Published: 03 February 2015
A new month means a new PouchDB release. Over the last month we have been looking around the rough edges and cleaning things up or chopping them off along with
[...]
PouchDB 3.2.1: You can always be faster
By: Nolan Lawson
Published: 05 January 2015
A humble release to ring in the new year, PouchDB 3.2.1 is focused on bugfixes and performance improvements. In particular, 3.2.1 boasts some critical fixes for IE11 and node-webkit, as
[...]