News Feed
Sections




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

Zend Developer Zone:
Getting started with CouchDB meet PHP on Couch
September 10, 2010 @ 11:23:56

On the Zend Developer Zone today Michael Bailey has posted an introduction to CouchDb including some sample code (in a download) and a look at the basics of using the database itself.

I will not detail the installation of the CouchDB server, the wiki got enough details. For the rest of this article I will assume that we have a running CouchDB server waiting for our queries on couch.example.com on port 5984 (the default CouchDB port). Setting up PHP on Couch is not really complicated : just download it on github.com, extract the archive : the interesting bits are in the lib folder.

He starts with some of the key terms you'll need on the CouchDb side (like JSON, documents, _id and _rev) followed by the interaction between PHP and the database - creating a database, storing a document, using the document object mapper and working with views.

0 comments voice your opinion now!
couchdb tutorial introduction phponcouch


blog comments powered by Disqus

Similar Posts

PHPro.org: Calculate Friday The 13th With Datetime Class

Christian Schaefer's Blog: Using Zend Framework components in a Symfony2 project

Robert Basic's Blog: Chaining routes in Zend Framework

PHPMaster.com: In My Language, Please! - Translating WordPress Themes and Plugins

Lorna Mitchell's Blog: PHP REST Server (Part 1 of 3)


Community Events





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


bugfix laravel api community list deployment voicesoftheelephpant framework library package podcast series tips language introduction opinion install interview symfony release

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