Re: couchjs vs. js

2009-07-31 Thread Vlad GURDIGA
I have to apologize, again: I should have payed more attention to source code. For those interested in answer to my question, that is information on how to use the curl extension provided by couchjs, there is enough in the test/test.js* file. One can use CouchDB.request method defined in there to

Re: couchjs vs. js

2009-07-31 Thread Vlad GURDIGA
umented function to >> make HTTP calls. >> >> This is why I suspect that there is additional functionality in >> couchjs vs. js which we could use. >> >> Now, can somebody confirm or infirm this suspicion? > > couchjs is js + curl bindings for the test suite. Great! Now is that curl functionality documented anywhere else other than the source code itself?

Re: couchjs vs. js

2009-07-30 Thread Jan Lehnardt
binary) dos not have any documented function to make HTTP calls. This is why I suspect that there is additional functionality in couchjs vs. js which we could use. Now, can somebody confirm or infirm this suspicion? couchjs is js + curl bindings for the test suite. Cheers Jan -- Thank you

Re: couchjs vs. js

2009-07-30 Thread Vlad GURDIGA
additional functionality in couchjs vs. js which we could use. Now, can somebody confirm or infirm this suspicion? Thank you! *http://svn.apache.org/viewvc/couchdb/trunk/test/test.js?revision=794057 **http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_js.c?revision=794057 On Thu, Jul

RE: couchjs vs. js

2009-07-30 Thread Nils Breunese
CouchDB just uses SpiderMonkey to run JavaScript, so your code should work just fine. Nils Breunese. Van: Vlad GURDIGA [gurd...@gmail.com] Verzonden: dinsdag 21 juli 2009 18:30 Aan: user@couchdb.apache.org Onderwerp: couchjs vs. js Hi, I'm trying t

couchjs vs. js

2009-07-21 Thread Vlad GURDIGA
Hi, I'm trying to put together some code and till now I was using js (SpiderMonkey) to run Javascript code on the server. Now I see there is a "couchjs" binary that is actually the one that is going to execute the Javascript on CouchDB. The only documentation I found about it is a man page on http