News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Gonzalo Ayuso's Blog:
PHP and couchDB
March 16, 2010 @ 13:55:22

In a recent post to his blog Gonzalo Ayuso has a brief introduction to CouchDB and how you can use it in your application. Most of the post is made up of code samples showing some of the basic relational database operations translated over to a CouchDB database (found in this class).

I come from relational database world. NoSQL is new for me. Maybe I'm wrong but I want to use INSERT, UPDATE, DELETE and SELECT statements in CouchDB in the same way I use them in Relational database. The class is focused in the HTTP Document API. There is a great tutorial here that explains the API. Now I'll show the interface I've made to perform the statements with CouchDB.

There's examples of both simple and more complex selects, updates and deletes as well as the handling of exceptions via two types he's included support for - NoDataFound and DupValOnIndex.

1 comment voice your opinion now!
couchdb interface nosql rdbms


blog comments powered by Disqus

Similar Posts

Andreas Gohr's Blog: MySimple.php - A lightweight PHPMyAdmin substitute

Matt Williams' Blog: High level search with PHP and Apache Solr

Devshed: Building a PHP ORM: Deploying a Blog

Chris Hartjes' Blog: Fun with API's - FRAPI and django-tastypie

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part II


Community Events





Don't see your event here?
Let us know!


series interview podcast package release framework update community language security tool library symfony laravel introduction voicesoftheelephpant composer install opinion version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework