News Feed
Sections




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

Till Klampaeckel's Blog:
So you'd like to migrate from MySQL to CouchDB? - Part II
November 13, 2009 @ 07:58:30

Till Klampaeckel has posted the second part of his look at migrating your application away from the relational world of MySQL and into the document-oriented toolset CouchDB has to offer. You can find part one here.

In part I, I introduced CouchDB by explaining its basics. I continued by showing a simple request to create a document using curl (on the shell) and expanded how the same request could be written in PHP (using ext/curl) - or in HTTP_Request2 or with phpillow. Part II will focus on the most basic operations and help you build a small wrapper for CouchDB. The code will be available on Github.

He briefly covers some of the features of the database, the Futon software to interact with it and some of the basics on the usual CRUD (Create, Read, Update, Delete) operations. The sample code shows how to add a new document into the database, pull it back out (with a get() call) and delete the document from the database completely. The source for the example is here.

0 comments voice your opinion now!
mysql migrate couchdb tutorial


blog comments powered by Disqus

Similar Posts

Joshua Thijssen: SPL Deepdive: RegexIterator

Alison Gianotto: Check User-Submitted URLs for Malware and Phishing in Your Application

CatsWhoCode.com: How to make a translatable WordPress theme

PhPL33t Blog: How to Automated Plesk Email Creation

SitePoint PHP Blog: How to Create a Laravel CSS-Minify Command


Community Events

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


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

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