News Feed
Sections




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

SitePoint PHP Blog:
CouchDb document oriented persistence
September 07, 2006 @ 07:49:40

Harry Fuecks mentions an interesting project today on the SitePoint Blog - CouchDb - a stand-alone document store, accessible via XML REST.

Firing up the CouchDb server on Windows is a breeze-follow the README. PHP-wise, you need the new http extension which is most easily done on Win32 by grabbing the most recent PHP 5 release (5.1.6) and the corresponding collection of PECL modules.

The interface between CouchDb and PHP is REST - XML + HTTP - you can also point your browser directly at the CouchDb server (default - localhost:8080) and get around with a little help from the CouchDb wiki.

So, if it's Just Another Database, why should we pay attention? Harry notes (with a code example) that it's more about how it stores the information and not just that it does. His example takes in a POST request from a form and pushes it (raw data) into the CouchDb functions. He also gives an example of where this would be handy - in a wiki (like Dokuwiki) where the files are currently stored on the filesystem instead of in a database.

0 comments voice your opinion now!
couchdb interesting document oriented persistence post wiki raw data couchdb interesting document oriented persistence post wiki raw data


blog comments powered by Disqus

Similar Posts

Job Posting: Webgains Seeks Senior PHP Developer (London, United Kingdom)

Job Posting: Weatherly Technologies (Recruiter) Seeks Senior PHP Developer (NYC MEtro)

Brandon Savage's Blog: 5 (Good) Lessons The Government Teaches Us About Object-Oriented Programming

Lorna Mitchell's Blog: Building A RESTful PHP Server: Routing the Request

Job Posting: MIT Media Lab Seeks Apache/MySQL/PHP Expert (Cambridge, MA)


Community Events

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


api voicesoftheelephpant video series unittest community php7 laravel language extension framework release version opinion library interview podcast security introduction laravel5

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