You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Gilbert B Garza <gi...@gmail.com> on 2009/02/08 22:13:38 UTC

Erlang API status?

Hello, I'm wondering where on the road map lies a native Erlang API for
couchdb. We're about to start writing production software in Erlang, and I'm
wondering whether we should start coding with couchdb in mind, or use
another database instead.

Thanks,
Gilbert

Re: Erlang API status?

Posted by lenz <no...@googlemail.com>.
have a look at my slides from the erlounge wellington[0]. there is a sample
in the slides on how to use couchdb from erlang (i use code based on that in
production context). the source is on github[1]

cheers
lenz

[0] http://www.slideshare.net/norbu09/umleitung-a-tiny-mochiwebcouchdb-app
[1] http://github.com/norbu09/umleitung/tree/master

On Mon, Feb 9, 2009 at 10:18 AM, Paul Davis <pa...@gmail.com>wrote:

> Glibert,
>
> There are a couple Erlang clients that use the HTTP interface. You can
> find the libraries listed on the wiki:
>
> http://wiki.apache.org/couchdb/Getting_started_with_Erlang
>
> HTH,
> Paul Davis
>
> On Sun, Feb 8, 2009 at 4:13 PM, Gilbert B Garza <gi...@gmail.com>
> wrote:
> > Hello, I'm wondering where on the road map lies a native Erlang API for
> > couchdb. We're about to start writing production software in Erlang, and
> I'm
> > wondering whether we should start coding with couchdb in mind, or use
> > another database instead.
> >
> > Thanks,
> > Gilbert
> >
>



-- 
iWantMyName.com
painless domain registration (finally)

Re: Erlang API status?

Posted by Gilbert B Garza <gi...@gmail.com>.
Thanks for the responses. I'm hoping to skip the HTTP interface altogether,
so I suppose I'll be diving into the couch_httpd_ modules.

Thanks,
Gilbert

On Sun, Feb 8, 2009 at 3:18 PM, Paul Davis <pa...@gmail.com>wrote:

> Glibert,
>
> There are a couple Erlang clients that use the HTTP interface. You can
> find the libraries listed on the wiki:
>
> http://wiki.apache.org/couchdb/Getting_started_with_Erlang
>
> HTH,
> Paul Davis
>
> On Sun, Feb 8, 2009 at 4:13 PM, Gilbert B Garza <gi...@gmail.com>
> wrote:
> > Hello, I'm wondering where on the road map lies a native Erlang API for
> > couchdb. We're about to start writing production software in Erlang, and
> I'm
> > wondering whether we should start coding with couchdb in mind, or use
> > another database instead.
> >
> > Thanks,
> > Gilbert
> >
>

Re: Erlang API status?

Posted by Paul Davis <pa...@gmail.com>.
Glibert,

There are a couple Erlang clients that use the HTTP interface. You can
find the libraries listed on the wiki:

http://wiki.apache.org/couchdb/Getting_started_with_Erlang

HTH,
Paul Davis

On Sun, Feb 8, 2009 at 4:13 PM, Gilbert B Garza <gi...@gmail.com> wrote:
> Hello, I'm wondering where on the road map lies a native Erlang API for
> couchdb. We're about to start writing production software in Erlang, and I'm
> wondering whether we should start coding with couchdb in mind, or use
> another database instead.
>
> Thanks,
> Gilbert
>

Re: Erlang API status?

Posted by Chris Anderson <jc...@apache.org>.
On Sun, Feb 8, 2009 at 1:13 PM, Gilbert B Garza <gi...@gmail.com> wrote:
> Hello, I'm wondering where on the road map lies a native Erlang API for
> couchdb. We're about to start writing production software in Erlang, and I'm
> wondering whether we should start coding with couchdb in mind, or use
> another database instead.
>

Currently if you want to interface with Couch in Erlang, the best
thing to do is see what's going in on the various couch_httpd_*
modules.

The internal Erlang API isn't supported or documented, but has been
mostly stable for a while. I'm using it on a benchmarking project
currently and its a pretty easy API to hook into if you already
understand Couch's HTTP API.

-- 
Chris Anderson
http://jchris.mfdz.com