just a simple question, why would you use this instead of, say, php+mysql ?
Writing custom code to do that on a mysql stack is very hard.
21–30 of 42 posts
just a simple question, why would you use this instead of, say, php+mysql ?
Writing custom code to do that on a mysql stack is very hard.
a-la Cassandra, but under NodeJS?) I'm Jack's total lack of surprise!))
just a simple question, why would you use this instead of, say, php+mysql ?
My main reason is for web applications that work fully offline and sync their data to all my devices. Writing custom code to do that on a mysql stack is very hard.
I'm not too familiar with Couch, but as I understand it caches views and updates them. Does Pouch do something similar, or does the query function filter all the documents in the database?
I've been keeping an eye on PouchDB for a while; it looks like a lot of fun. How does authentication with the Couch server work, though? I don't see anything on the FAQ or after a brief perusal. CouchDB's apparently lax attitude toward security years ago was what kept me away, but I've always hoped/assumed that it improved since then. Has it?
With PouchDB a lot of the application server logic doesnt apply and you can use CouchDB as a private data server that requires any connection to be authenticated, in the example we use basic auth but other methods are available and none of the security quirks with 'couchapps' apply.
And yes it is a lot of fun :)
Earlier quoted context omitted.
My main reason is for web applications that work fully offline and sync their data to all my devices. Writing custom code to do that on a mysql stack is very hard.
Hi daleharvery quick question, if application is working fully offline, how is it syncing across all devices?
Earlier quoted context omitted.
Hi daleharvery quick question, if application is working fully offline, how is it syncing across all devices?
It is able to work offline, but if a connection is available it syncs data (obviously the syncing doesnt work if there is no connection)
Earlier quoted context omitted.
My main reason is for web applications that work fully offline and sync their data to all my devices. Writing custom code to do that on a mysql stack is very hard.
Hi daleharvery quick question, if application is working fully offline, how is it syncing across all devices?
You exit the tunnel, you gain connectivity PouchDB syncs your data to the CouchDB on the server. Other devices can now sync from the server.