News Feed
Sections




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

Rdavid.net:
My Zend Framework Model Layer Part Service, Part ORM
January 21, 2010 @ 13:09:12

In a new post on the Rdavid.net blog there's some discussion about Zend Framework models, the best approach and a "Service Class" idea.

After some more thought and lots of research on the subject, I've come to a solid point where I actually have something to try out which seems semantic aside from the naming of the class (Service Class) '" but this is derived from what some people are talking about in ZF circles starting from Matthew Weier O'Phinney who was coining it as the "Gateway to the Domain" from early on, then later changing it to "Service Class".

He defines what his service class idea is - a layer between the database and each of the models that allows them to be agnostic about what kind of service they're using. He also breaks down some of the key points around his approach including the fact that the Model Service can create Forms and that the Model Service can use the Zend_Cache component directly for improving performance. Be sure to check out the comments for thought from other Zend Framework developers.

0 comments voice your opinion now!
service model layer orm doctrine


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Introduction to DataModeler

Zend Developer Zone: Pro PHP XML and Web Services Sample Chapter

Debuggable Blog: How to paginate a CakePHP search over a HABTM relation without hacking the core

Zend Developer Zone: PHP and your domain model with Doctrine ORM

The OC Food Review Blog: Make your own geovisitor


Community Events





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


framework api opinion install podcast voicesoftheelephpant language interview bugfix symfony laravel introduction library unittest community package release series deployment zendserver

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