I have a CouchDB instance running on one machine, and thus with its own Erlang VM process. If I have another separate Erlang application running on that machine too, is it be better to share the same VM between CouchDB and my application, or is it recommended to start a new Erlang node?
...
Can anyone recommend a library or a wrapper for the RESTful interface of couchDB? No need to re-invent the wheel here, I assume. Or at least a help to create any RESTful client?
...
CouchDB delegates computation of Views to external query servers. So it is possible to use other languages than Javascript for MapReduce functions (for example, there is implementations for Common Lisp, native Erlang, etc.)
Is it possible to do so with CouchDB Show/List functions?
...
Hi
I've been trying to install CouchDB on my webfusion virtual server. I followed the latest instructions from the webfusion forum (see: http://forum.webfaction.com/viewtopic.php?id=2355 ) and it runs (just) Futon is very sluggish and I get 502 errors. Anyway when I run the test suite it crashes and the browser hangs on the first two ba...
Hi guys,
I have been evaluating couchdb for a project and am using couchapp to develop the prototype. So far all I can only say it that it is an awesome tool. I have however run across a problem (which is surely caused by ignorance of the tool) that I cannot seem to get mustache partials to work and the reason for that I believe is that...
I have a set of ACLs in Couch and I want to create a view that matches applicable ones. So, given the data:
[
{
"_id": "/protected",
"type": "valid-user"
},
{
"_id": "/protected/group1",
"type": "require group group1"
},
{
"_id": "/protected/group1/public",
"type": "public"
},
{
"_id": "/protec...
I am using CouchDB Futon to edit the views and shows. But I find it hard to edit the JavaScript code because of converting the newline to "\n". Also, it is hard to do all the escaping work.
What do you use to edit your views?
...
CouchDB is convenient to develop (CouchApps) locally and then push into remote production. Unfortunately with production-sized data sets, working on views can be cumbersome.
What are good ways to take samples of a CouchDB database for use in local development?
...
I'm working on a turn based board game for iPhone and eventually Android. I'm using Appcelerator Titanium to develop it. My multiplayer design is similar to Words With Friends. Users take turns when ready, and then the opponent's game board is updated accordingly.
One of my needs is to have a messaging API which enables the 2 players' d...
I'm working on a game (something like chess) where every move needs to be saved into a database per move.
Since it's very important that both reads and writes are fast, and I don't need complex queries, I'm probably going to go with a NoSQL solution.
Which one though? I'm thinking about MongoDB but will its durability be an issue?
It'...
Hi there, I became interested in CouchDB recently and wanted to try and form a small application around it.
The way how I invition my system currently is that requests come providing two things, a id, a API Key and a format. The ID is the _id of a document in the database, the API Key is a _id of another document that has a property ...
First, here's my original question that spawned all of this.
I'm using Appcelerator Titanium to develop an iPhone app (eventually Android too). I'm connecting to CouchDB's port directly by using Titanium's Titanium.Network.TCPSocket object. I believe it utilizes the Apple SDK's CFSocket/NSStream class.
Once connected, I simply write:
...
Whenever a document is accessed, I would like to add last access time into the document. How do I update a document in views whenever there is GET request?
Thanks
...
Hello,
I would like to deploy my application on couchdb. Have few queries regarding the same.
1) Is couchapp the only way to install applications on couchdb?
2) Can we deploy only javascript/HTML in couchdb?
I found that all the files except the files in web-inf from my application war can be pushed into couchdb. What will happen to ...
What are the major differences between MongoDB and CouchDB, and are there any other major NO-SQL database-servers out there worth mentioning?
I know that CERN uses CouchDB somewhere in their LHC back-end; huge stamp of approval. What are MongoDB - and any other major servers' - references?
Update
One of the major selling points of Cou...
As many of you will know the response from a couchdb view is as follows
{"rows":[
{"key":"1","value":{"Col1":"Some Value"}},
{"key":"2","value":{"Col1":"Another Value"}},
]}
Well I would like to collate that to
[{"key":"1","value":{"Col1":"Some Value"}},
{"key":"2","value":{"Col1":"Another Value"}}]
I am considering using a ...
I've been messing around with using Node.js and CouchDB. What I want to be able to do is make a db call within an object. Here is the scenario that I am looking at right now:
var foo = new function(){
this.bar = null;
var bar;
calltoDb( ... , function(){
// what i want to do:
// this.bar = dbResponse.bar;
...
Hello,
I'm trying to create a pagination index view in CouchDB that lists the doc._id for every Nth document found.
I wrote the following map function, but the pageIndex variable doesn't reliably start at 1 - in fact it seems to change arbitrarily depending on the emitted value or the index length (e.g. 50, 55, 10, 25 - all start with ...
I can't access my CouchDB server (CouchDBX) using a jQuery AJAX call.
I am able to access my demo database at localhost:5984/helloworld/_all_docs through browsers (tested with FireFox, Chrome and Safari). But when I do a simple AJAX call using jQuery I get no data returned.
The requests completes with code 200.
Here's what my AJAX cal...
I have three document types MainCategory, Category, SubCategory... each have a parentid which relates to the id of their parent document.
So I want to set up a view so that I can get a list of SubCategories which sit under the MainCategory (preferably just using a map function)... I haven't found a way to arrange the view so this is pos...