Which PHP library I should choose to work with CouchDB?

Posted by Guss on Stack Overflow See other posts from Stack Overflow or by Guss
Published on 2010-04-04T02:22:43Z Indexed on 2010/04/04 2:33 UTC
Read the original article Hit count: 370

Filed under:
|
|

I want to try playing with CouchDB for a new project I'm writing (as a hobby, not part of my job). I'm well versed in PHP, but I haven't programmed with CouchDB at all, and also I have little experience with non-SQL databases.

From looking at CouchDB's "Getting Started with PHP" document they recommend using a third-party library or writing your own client using their RESTful HTTP API. I think I'd rather not mess with writing protocol implementations myself at this point, but what is your experience with writing PHP to work with CouchDB?

I haven't tested any of the alternatives yet, but I looked at:

  • PHPillow : I'm interested in the way they implement ORM. I wasn't planning to do ORM, but my problem domain probably map well to that method.
  • PHP Object Freezer: seems like a poor man's ORM - I can use it to implement an actual ORM, or just as an easy store/retrieve document API but it seems too primitive.
  • PHP-on-Couch : Also a bit simple, but they have an interesting API for views and from the documentation it looks usable enough.
  • PHP CouchDB Extension : From the listed options this looks like it has the best chance of making it into the PHP mainline itself, and also has the most complete API.

Any opinion one wish to share on each library is welcome.

© Stack Overflow or respective owner

Related posts about php

Related posts about couchdb