News Feed
Jobs Feed
Sections




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

Matthew Turland's Blog:
Models in Zend Framework
March 29, 2010 @ 11:43:05

In a new post to his blog Matthew Turland takes a look at one of the concepts it's more difficult for those new to the Zend Framework to wrap their heads around - models.

A question that frequently comes up in my interactions with other developers about Zend Framework is how to approach designing models. There's a small collection of resources and advice that I generally give on the subject, so I thought I'd write up a blog post to give people an easy place to access it all.

He talks about the "correct" way to create a model - guess what, there's not one - and some suggestions of other resources that can give you some suggestions. He both defines what a model is and mentions a few things to consider in your development:

  • data encapsulation
  • handling dependencies
  • defining default adapters to make access simpler
0 comments voice your opinion now!
model zendframework opinion definition


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Indexing Email Messages with PHP, Zend Lucene and Sphinx

DZone.com: There's no reason not to switch to DocBlox

Chris Hartjes' Blog: Smarter DB Migrations using Zend Framework and Doctrine 1.2

SitePoint.com: Software Development? We're Doing it Wrong.

DevShed: An Introduction to Simulating the Model-View-Controller Schema in PHP


Community Events











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


introduction hack release unittest component podcast framework threedevsandamaybe package facebook hhvm security application project composer language symfony2 performance install database

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