PouchDB, the In-Browser Database That Replicates
cloudant.com
cloudant.com
My boss tells me I'll be making a whole private document management & CRM around it and CouchDB, and that's my fault for showing them to him.
Will you be sharing your development experiences somewhere? It seems there is less info out there compared to, say, Mongo.
A question that remains unanswered for me is how do they go about storing the local data in the browser? Do they use local storage? Are there size limits? What's reliability like?
Ah, PouchDB isn't our product. It's just something super awesome that we want to support and promote. In fact, it's built by Dale Harvey, who works at Mozilla.
Disclosure: I'm a developer at Cloudant.
BigCouch, and the clustering abilities that we're merging back into CouchDB, are open-source artifacts of the work we do on the core product. The open-source community gave us so much, and we love giving back :D
And I think it's great that BigCouch is being merged back into CouchDB. I'm just getting interested in CouchDB and PouchDB and it seems these projects deserve the love.
Instead, serve {client,user}-specific keys from the server on request, or let the user generate them through a signin process in the frontend, say by using the _users database that CouchDB and Cloudant allow.
I plan on extending the getting started tutorial with an extention that does a database oer user when logged in (via persona), it actually wont make the tutorial much more complex and gets very close to what it should look like in production (https://github.com/daleharvey/couch-persona)
1. Any application layer is in effect a transform, with security and sanity constraints, on user input.
2. There is at least the degenerate case where user input does not need to be transformed, only constrained
3. And about those constraints. CouchDB requires you write a validation function, and it lives inside the database, again obviating the need for that logic in the application layer.
4. What was your anxiety again?
Also, what do you do about FF's seeming need to pluralize all store names, default out-of-order keys, and clear cache issue?
edit for clarity
as for question 2, I'm not aware of any FF issues in that regard aka I have no idea what your talking about, link?
There are more and more things that can sync this awesome JSON HTTP protocol. http://syncable.org/
Thanks Dale!
remote = 'https://USERNAME:PASSWORD@USERNAME.cloudant.com/DATABASE'
I know HTTPS URLs are encrypted, but it still strikes me as unsafe. What does HN think?But it can work with cookie authentication with just a little more lines of code.