couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Smith <>
Subject Re: is there a promises based, browser-compatible couchdb api with cors support?
Date Tue, 09 Jul 2013 03:25:17 GMT
Hi, Ben. I am biased, but in my opinion, browser-request is the best way to
interact with CouchDB. It duplicates the look and feel of the ubiquitous
Node.js package, request.

It does not support promises, however I have recently gotten interested in
promises, so if anybody sent me a pull request or proof of concept
implementation, I would gladly merge it in to the project.

On Tue, Jul 9, 2013 at 6:37 AM, Ben Cohen <> wrote:

> Hi all --
> I'm working on an emberjs app and looking for the easiest/best way to
> connect to the couchdb rest api.  I'm not using any of the ember-data
> libraries as the ember-data half of ember seems to be pretty heavyweight,
> under churn, and doesn't really map to my uses all that much anyway.  So
> I'm looking for the simplest way to interact with couchdb.  Ember really
> wants all the server interactions be wrapped in promises -- it seems it
> won't be that hard to wrap promises around jquery.couch calls -- but just
> wanted to check and see if there was something already out there which is
> tested and in use by others …  Ideally I'm also looking for something
> whichs supports CORS out of the box as my app will be hosted on a different
> domain than the couch server.
> Many thanks,
> Ben
> Nathaniel Cohen
> Programmer-Analyst -- Scripps Institution of Oceanography
> cell: 619.729.3320
> phone: 858.534.9567

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message