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:
Any opinion one wish to share on each library is welcome.
For what it's worth, I had many of the same problems. I ended up using the "advanced" example on the CouchDB wiki for a lot of my first projects, as I found it was better than a lot of the libraries you listed and felt more natural, but got tired of some bugs and lack of features.
So I wrote my own: Sag. Version 0.1.0 is going to be released this week, but the latest code in the repository is stable - I'm using it on a few projects right now. Not that I'm biased or anything. :-)
Cheers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With