News Feed
Sections




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

Rob Morgan:
Getting Started With Phinx
October 18, 2012 @ 12:30:49

Rob Morgan has a recent post showing you how to use Phinx, a PHP-based database migration tool, to handle your database changes (both "up" and "down").

Earlier this year I decided to open-source one of my personal software projects - Phinx. Phinx is a database migration tool (think Ruby on Rails ActiveRecord migrations) where can you describe all of your database transformations in pure PHP. I have used this tool for many of my consulting projects, however it still took a lot of effort to turn it into a re-usable product. In this tutorial I'm going to explain how to install Phinx and use it with a simple guestbook application.

He uses a sample guestbook project for his example, showing how to get it all installed and how to create a migration that adds a "posts" table.

0 comments voice your opinion now!
phinx database migration tutorial introduction guestbook


blog comments powered by Disqus

Similar Posts

Ulf Wendel's Blog: Using MySQL stored procedures with PHP mysqli

Chris Shiflett's Blog: OSCON 2006 Redux

Zend Developer Zone: Build an Enterprise-Grade PHP Stack with Zend Server 5.0 and Oracle 11g

Daniel Cousineau's Blog: Zend Framework Module Init Script (Controller Plugin)

Chris Jones' Blog: Oracle Database and Instant Client 11.2.0.2 are available on Linux


Community Events





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


code introduction deployment podcast api bugfix zendserver threedevsandamaybe language development conference laravel tips list interview community symfony framework series release

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