You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Michael Stevens <mi...@dianomi.com> on 2009/09/21 19:11:53 UTC
couchdb perl modules
Hi.
Does anyone know a good CouchDB perl module? So far I've tried a number of
options, including Net::CouchDb, CouchDB::Client, and AnyEvent::CouchDB and
had problems with all of them.
--
Michael Stevens
Dianomi Ltd
18 Buckingham Gate
London SW1E 6LB
Tel: 020 7802 5530
Fax: 020 7630 7356
www.dianomi.com
The information in this message and any attachment is intended for the
addressee and is confidential and may be subject to legal privilege. Dianomi
Ltd, Registered Office: One America Square, Crosswall, London. EC3N 2SG.
Registered in England and Wales with Company Registration Number 4513809.
VAT registration number: 809754988
Re: couchdb perl modules
Posted by Michael Stevens <mi...@dianomi.com>.
2009/9/21 James Marca <jm...@translab.its.uci.edu>
> On Mon, Sep 21, 2009 at 06:11:53PM +0100, Michael Stevens wrote:
> > Hi.
> >
> > Does anyone know a good CouchDB perl module? So far I've tried a number
> of
> > options, including Net::CouchDb, CouchDB::Client, and AnyEvent::CouchDB
> and
> > had problems with all of them.
>
> You didn't mention DB::CouchDB::Schema.
>
> I agree with you that all have problems (including
> DB::CouchDB::Schema), but all are open source, and I've seen a few of
> the authors post to this mailing list in the past. I'd suggest
> picking one that is closest to what you want and/or has the least
> problems for your workflow, and see about fixing the problems and
> submitting patches (or at the very least submitting feature requests)
> to the author(s).
>
> That has worked for me in the past on DB::CouchDB.
>
> For what its worth, I liked the AnyEvent part of AnyEvent::CouchDB,
> saw that it was used by the KiokuDB project, and tried to use it, but
> at the time I tried I couldn't get admin user and password credentials
> to work. In contrast, DB::CouchDB used LWP::UserAgent to handle the
> http connections, and I knew how to get Credentials to work in
> LWP::UA, so patching the source was easy and I was on my way. Then I
> wanted bulk_docs semantics, so I added that too (although come to
> think of it, I don't know if I pushed that up to my github or wrote
> any proper tests for it).
>
I've been trying to contact the authors for the ones I've tried so far, no
response yet (although AnyEvent::CouchDB I only emailed last night, so I can
hardly expect anything yet).
I haven't tried DB::CouchDB::Schema yet so I can't comment on it.
I'm going to try using HTTP and JSON directly next to see how reliable that
is, and how good/bad the code looks.
--
Michael Stevens
Dianomi Ltd
18 Buckingham Gate
London SW1E 6LB
Tel: 020 7802 5530
Fax: 020 7630 7356
www.dianomi.com
The information in this message and any attachment is intended for the
addressee and is confidential and may be subject to legal privilege. Dianomi
Ltd, Registered Office: One America Square, Crosswall, London. EC3N 2SG.
Registered in England and Wales with Company Registration Number 4513809.
VAT registration number: 809754988
Re: couchdb perl modules
Posted by lenz <no...@googlemail.com>.
i patched the DB::CouchDB::Schema as i had problems with newer
versions of CouchDB ... patch is on github
(git://github.com/norbu09/db-couchdb-schema.git)
cheers
lenz
On Tue, Sep 22, 2009 at 2:07 PM, Jeremy Wall <jw...@google.com> wrote:
> On Mon, Sep 21, 2009 at 5:28 PM, James Marca <jm...@translab.its.uci.edu>wrote:
>
>> On Mon, Sep 21, 2009 at 06:11:53PM +0100, Michael Stevens wrote:
>> > Hi.
>> >
>> > Does anyone know a good CouchDB perl module? So far I've tried a number
>> of
>> > options, including Net::CouchDb, CouchDB::Client, and AnyEvent::CouchDB
>> and
>> > had problems with all of them.
>>
>> You didn't mention DB::CouchDB::Schema.
>>
>> I agree with you that all have problems (including
>> DB::CouchDB::Schema), but all are open source, and I've seen a few of
>> the authors post to this mailing list in the past. I'd suggest
>> picking one that is closest to what you want and/or has the least
>> problems for your workflow, and see about fixing the problems and
>> submitting patches (or at the very least submitting feature requests)
>> to the author(s).
>>
>> That has worked for me in the past on DB::CouchDB.
>>
>> For what its worth, I liked the AnyEvent part of AnyEvent::CouchDB,
>> saw that it was used by the KiokuDB project, and tried to use it, but
>> at the time I tried I couldn't get admin user and password credentials
>> to work. In contrast, DB::CouchDB used LWP::UserAgent to handle the
>> http connections, and I knew how to get Credentials to work in
>> LWP::UA, so patching the source was easy and I was on my way. Then I
>> wanted bulk_docs semantics, so I added that too (although come to
>> think of it, I don't know if I pushed that up to my github or wrote
>> any proper tests for it).
>
>
> As the author of DB::CouchDB::Schema I feel compelled to say thanks for the
> plug. I've been meaning to push a new release out to CPAN but I keep getting
> distracted.
>
>
>> Regards,
>> James
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>
--
iWantMyName.com
painless domain registration (finally)
Re: couchdb perl modules
Posted by Jeremy Wall <jw...@google.com>.
On Mon, Sep 21, 2009 at 5:28 PM, James Marca <jm...@translab.its.uci.edu>wrote:
> On Mon, Sep 21, 2009 at 06:11:53PM +0100, Michael Stevens wrote:
> > Hi.
> >
> > Does anyone know a good CouchDB perl module? So far I've tried a number
> of
> > options, including Net::CouchDb, CouchDB::Client, and AnyEvent::CouchDB
> and
> > had problems with all of them.
>
> You didn't mention DB::CouchDB::Schema.
>
> I agree with you that all have problems (including
> DB::CouchDB::Schema), but all are open source, and I've seen a few of
> the authors post to this mailing list in the past. I'd suggest
> picking one that is closest to what you want and/or has the least
> problems for your workflow, and see about fixing the problems and
> submitting patches (or at the very least submitting feature requests)
> to the author(s).
>
> That has worked for me in the past on DB::CouchDB.
>
> For what its worth, I liked the AnyEvent part of AnyEvent::CouchDB,
> saw that it was used by the KiokuDB project, and tried to use it, but
> at the time I tried I couldn't get admin user and password credentials
> to work. In contrast, DB::CouchDB used LWP::UserAgent to handle the
> http connections, and I knew how to get Credentials to work in
> LWP::UA, so patching the source was easy and I was on my way. Then I
> wanted bulk_docs semantics, so I added that too (although come to
> think of it, I don't know if I pushed that up to my github or wrote
> any proper tests for it).
As the author of DB::CouchDB::Schema I feel compelled to say thanks for the
plug. I've been meaning to push a new release out to CPAN but I keep getting
distracted.
> Regards,
> James
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
Re: couchdb perl modules
Posted by James Marca <jm...@translab.its.uci.edu>.
On Mon, Sep 21, 2009 at 06:11:53PM +0100, Michael Stevens wrote:
> Hi.
>
> Does anyone know a good CouchDB perl module? So far I've tried a number of
> options, including Net::CouchDb, CouchDB::Client, and AnyEvent::CouchDB and
> had problems with all of them.
You didn't mention DB::CouchDB::Schema.
I agree with you that all have problems (including
DB::CouchDB::Schema), but all are open source, and I've seen a few of
the authors post to this mailing list in the past. I'd suggest
picking one that is closest to what you want and/or has the least
problems for your workflow, and see about fixing the problems and
submitting patches (or at the very least submitting feature requests)
to the author(s).
That has worked for me in the past on DB::CouchDB.
For what its worth, I liked the AnyEvent part of AnyEvent::CouchDB,
saw that it was used by the KiokuDB project, and tried to use it, but
at the time I tried I couldn't get admin user and password credentials
to work. In contrast, DB::CouchDB used LWP::UserAgent to handle the
http connections, and I knew how to get Credentials to work in
LWP::UA, so patching the source was easy and I was on my way. Then I
wanted bulk_docs semantics, so I added that too (although come to
think of it, I don't know if I pushed that up to my github or wrote
any proper tests for it).
Regards,
James
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Re: couchdb perl modules
Posted by Jan-Felix Wittmann <ne...@gmx.de>.
Am 21.09.2009 um 19:11 schrieb Michael Stevens:
> Hi.
>
> Does anyone know a good CouchDB perl module? So far I've tried a
> number of
> options, including Net::CouchDb, CouchDB::Client, and
> AnyEvent::CouchDB and
Hi! could you please describe your problem with AnyEvent::CouchDB
module ?
I'm not the author (John Beppu) of the perl module but I contributed
some patches to this project. Maybe I can help you ?
We fixed the view URL's for compliace with 0.9.0 release.
http://github.com/beppu/anyevent-couchdb/commit/0276857a9005875a429dabb0a7fc749372b4ef8b
> had problems with all of them.
>
regards,
Jan-Felix Wittmann
Re: couchdb perl modules
Posted by Michael Stevens <mi...@dianomi.com>.
2009/9/22 Jan-Felix Wittmann <jf...@gmx.de>
>
> Am 21.09.2009 um 19:11 schrieb Michael Stevens:
>
> Hi.
>>
>> Does anyone know a good CouchDB perl module? So far I've tried a number of
>> options, including Net::CouchDb, CouchDB::Client, and AnyEvent::CouchDB
>> and
>>
>> Hi! could you please describe your problem with AnyEvent::CouchDB module
> ?
> I'm not the author (John Beppu) of the perl module but I contributed some
> patches to this project. Maybe I can help you ?
>
> We fixed the view URL's for compliace with 0.9.0 release.
>
> http://github.com/beppu/anyevent-couchdb/commit/0276857a9005875a429dabb0a7fc749372b4ef8b
>
I've mailed John Beppu, but it was only last night, so I'm not really
expecting a reply yet.
The problem I'm seeing is calling open_doc. Sometimes it works, sometimes I
get a timeout error almost immediately.
I haven't pinned this down 100% yet but it looks like it only happens when I
use it from mod_perl, my command line test is fine.
--
Michael Stevens
Dianomi Ltd
18 Buckingham Gate
London SW1E 6LB
Tel: 020 7802 5530
Fax: 020 7630 7356
www.dianomi.com
The information in this message and any attachment is intended for the
addressee and is confidential and may be subject to legal privilege. Dianomi
Ltd, Registered Office: One America Square, Crosswall, London. EC3N 2SG.
Registered in England and Wales with Company Registration Number 4513809.
VAT registration number: 809754988
Re: couchdb perl modules
Posted by Jan-Felix Wittmann <jf...@gmx.de>.
Am 21.09.2009 um 19:11 schrieb Michael Stevens:
> Hi.
>
> Does anyone know a good CouchDB perl module? So far I've tried a
> number of
> options, including Net::CouchDb, CouchDB::Client, and
> AnyEvent::CouchDB and
>
Hi! could you please describe your problem with AnyEvent::CouchDB
module ?
I'm not the author (John Beppu) of the perl module but I contributed
some patches to this project. Maybe I can help you ?
We fixed the view URL's for compliace with 0.9.0 release.
http://github.com/beppu/anyevent-couchdb/commit/0276857a9005875a429dabb0a7fc749372b4ef8b
> had problems with all of them.
regards,
Jan-Felix Wittmann