News Feed
Sections




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

Paul Jones' Blog:
Solar Models vs. Zend Framework Models
January 08, 2010 @ 12:15:29

Paul Jones has added a new post to his blog today (in response to this one from Michelangelo van Dam about models in Zend Framework) on how to work with models in the Solar Framework and how the experience compares.

I read the article, and wondered how hard it would be to replicate his narrative using the Solar Framework model system. Turns out it's pretty easy: there's a lot of work that Solar does for you.

He describes the process in a series of ten steps with most of them being done for you by the tools included with the framework (the ones that aren't just setup tasks). The "solar system" toolkit includes a command line application that helps you build out the models and relating them is as easy as changing some values in the model classes with methods like "hasOne" and "belongsTo".

0 comments voice your opinion now!
solar framework zendframwork model relationship


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: The Devilís In The Details (or, Handling Sequences in Postgres in CakePHP)

Jani Hartikainen's Blog: Decoupling models from the database: Data Access Object pattern in PHP

Akelos.org: Creating a weblog using the Akelos PHP Framework

Project: Warden: A user database authorization package for FuelPHP

Matt Curry's Blog: Did You Guys Know About The CakePHP DebugKit?


Community Events





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


list developer podcast bugfix api interview wordpress series configure laravel unittest library threedevsandamaybe language application install introduction code community release

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