You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Manuel Schölling <ma...@gmx.de> on 2010/06/18 19:31:09 UTC

Asynchronous JS CouchDB API

Hi guys,

I could not find any asynchronous version of
http://localhost:5984/_utils/script/couch.js
(Perhaps I didn't search hard enough)
That's why I modified it to work asynchronously instead of
synchronously.

This makes it possible to use CouchDB in Qt's QML.
If you are interested, have a look at
http://github.com/manuels/Async-CouchDB-API

Cheers,
Manuel


Re: Asynchronous JS CouchDB API

Posted by Manuel Schölling <ma...@gmx.de>.
> > That's why I modified it to work asynchronously instead of
> > synchronously.

> for that we tend to use jquery.couch.js (used by Futon)
> [...]
> > This makes it possible to use CouchDB in Qt's QML.

Looks nice. But it requires jQuery, right?
If you want to use CouchDB in QML, you can't use jQuery.
So at least my modification is worth for QML development ;)


Re: Asynchronous JS CouchDB API

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 18, 2010, at 10:31 AM, Manuel Schölling wrote:

> Hi guys,
> 
> I could not find any asynchronous version of
> http://localhost:5984/_utils/script/couch.js
> (Perhaps I didn't search hard enough)
> That's why I modified it to work asynchronously instead of
> synchronously.
> 

for that we tend to use jquery.couch.js (used by Futon)

http://blog.skitsanos.com/2009/11/jquerycouchjs-cheatsheet.html

> This makes it possible to use CouchDB in Qt's QML.
> If you are interested, have a look at
> http://github.com/manuels/Async-CouchDB-API
> 
> Cheers,
> Manuel
>