News Feed
Sections




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

Chris Hartjes' Blog:
Converting Legacy Apps to CakePHP, Part 2
December 09, 2008 @ 10:26:09

Chris Hartjes has posted the second part of his look at converting legacy applications over to a more structured CakePHP environment. In this new post he looks at working with the database schema.

Now you've decided to convert your legacy app over to CakePHP, you will run into the first serious obstacle: your database schema. To put it bluntly, if your schema does not already account for relationships between multiple tables you are screwed. Given that CakePHP is good at generating the queries you need to pull related records in for you, you NEED that schema to contain relationships.

He talks about the importance of relationships, creating his working models and some things to get well acquainted with - ow relationships work in CakePHP, how to use Containable behavior and some good SQL to back you up should you need it.

0 comments voice your opinion now!
cakephp legacy application convert model database schema


blog comments powered by Disqus

Similar Posts

PHP 10.0 Blog: dirname(__FILE__)

Tim Koschuetzki's Blog: How to put Combined Fields Into CakePHP's Model->generateList()

Community News: CakePHP 1.2 Release (and a New Site Design)

DevShed: Creating an RSS Reader Application

Jim Plush's Blog: Followup on rethinking Zend Models with DDD - Framework code included


Community Events





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


tool introduction artisanfiles composer security series framework symfony podcast library release version conference list voicesoftheelephpant laravel language community interview opinion

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