Live data from Hacker News

Show HN: PouchDB - The JavaScript database that syncs

pouchdb.com

1–10 of 42 posts

Re: Show HN: PouchDB - The JavaScript database that syncs

#4

I just put up this website, its ugly but working on the content, in particular I want it very easy to understand wtf it is and get started, would love to hear your feedback.

I like the name.

hah thanks, I think Max Ogden came up with the name (this project existed a long time before I started working on it)

Re: Show HN: PouchDB - The JavaScript database that syncs

#5

I just put up this website, its ugly but working on the content, in particular I want it very easy to understand wtf it is and get started, would love to hear your feedback.

Dale - I've been really interested in this project since I work with CouchbaseLite. Hope you get good feedback. I'm particularly interested in setting this up with Sync_gateway. https://github.com/couchbaselabs/sync_gateway

Re: Show HN: PouchDB - The JavaScript database that syncs

#6

I just put up this website, its ugly but working on the content, in particular I want it very easy to understand wtf it is and get started, would love to hear your feedback.

I especially like PouchDB-Server as a mini CouchDB replacement ( https://github.com/nick-thompson/pouchdb-server ). Congrats for implementing LevelDB into PouchDB so we can use it in Node.

Re: Show HN: PouchDB - The JavaScript database that syncs

#7

I just put up this website, its ugly but working on the content, in particular I want it very easy to understand wtf it is and get started, would love to hear your feedback.

I especially like PouchDB-Server as a mini CouchDB replacement ( https://github.com/nick-thompson/pouchdb-server ). Congrats for implementing LevelDB into PouchDB so we can use it in Node.

The congratulations goes to https://twitter.com/chesles who implemented most of the levelDB adapter and Nick Thompson for the router + server implementation.

The server is really exciting, we mostly built it so we can reuse CouchDBs test suite however with it being so easy to install its becoming pretty invaluable

Re: Show HN: PouchDB - The JavaScript database that syncs

#8
The example code is somewhat weird:

  var db = new PouchDB('dbname');
  
  db.put({
    _id: 'dave@gmail.com',
    name: 'David',
    age: 66
  });
  
  db.changes({
    onChange: function() {
      console.log('Ch-Ch-Changes');
    }
  });
  
  db.replicate.to('http://example.com/mydb');
Shouldn't you set up the event listener before "db.put()"?

Re: Show HN: PouchDB - The JavaScript database that syncs

#9
Is it possible to do something like this for a MySQL (innodb with relational keys) database ? I am about to begin work on a project that might be used in countries where we don't have constant connectivity (internet and electricity) .. and we don't want to lose or corrupt data due to connectivity ...

Re: Show HN: PouchDB - The JavaScript database that syncs

#10

I just put up this website, its ugly but working on the content, in particular I want it very easy to understand wtf it is and get started, would love to hear your feedback.

Here is daleharvey giving an intro to PouchDB at http://allyourbaseconf.com last year.

https://vimeo.com/56632201

Post reply on HN