News Feed
Sections




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

Adrian Schneider's Blog:
Zend Framework Models - Part 1 Concepts
February 22, 2010 @ 11:24:02

Adrian Schneider has started up a new series of posts on his blog today with part of of his look at models in the Zend Framework.

The power in Zend Framework lies in its uncompromising flexibility. However, evidently, this also means its very difficult for new ZF users to pick up the framework and hit the ground running. The most common question I see is usually "where is the model?". The goal of this post is to show some examples and hopefully some new ideas on how to tackle models. There is no one-size-fits-all solution folks. Let's look at some options and some background...

He starts off with the concept behind models, explaining how they're just a place to get your data from whether it be in a database or other resource. Processing that happens to your application's data belongs in a model. He illustrates a database model that uses the Zend_Db_Table component to connect to a backend database. There's only a bit of introductory code in this first post, so expect that to come in the parts to follow.

0 comments voice your opinion now!
zendframework model concept tutorial


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: Using Action Helpers To Implement Re-Usable Widgets

Alexander Netkachev's Blog: Practical PHP events: The Java way

IBM developerWorks: Squash bugs in PHP applications with Zend Debugger

PHPBuilder.com: PHPUnit Fundamentals: Setting Up and Tearing Down a Doctrine 2 Database

Jacob Santos' Blog: Patterns for PHP: Page Controller Draft


Community Events





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


laravel series voicesoftheelephpant tips podcast interview symfony conference framework list library community developer bugfix deployment api release zendserver language introduction

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