News Feed
Sections




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

Jim Plush's Blog:
Rethinking the Zend Models
July 15, 2009 @ 12:35:16

Jim Plush has taken a look at his models in the Zend Framework and has rethought them a bit to work with a bit more complex process than the usual simple sort of Zend Framework application.

The current active record/table gateway patterns just aren't going to cut it for the complex business logic that's approaching. I'm starting to lean towards the domain model approach which would increase the initial complexity of the design but allow for the flexibility for future changes and features. The issue is with where to put your business logic?

He diagrams out his potential solution and includes two bits of code showing how it would work in practice. He's soliciting opinions as to the validity of this approach too, wondering if its the best way to go for more complex application structures requiring these sorts of business requirements.

0 comments voice your opinion now!
logic business complex model zendframework


blog comments powered by Disqus

Similar Posts

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha

Brandon Savage's Blog: Making Zend_Navigation Useful

Community News: Book Release: "Easy PHP Websites with the Zend Framework" (W. Jason Gilmore)

Juozas Kaziukenas' Blog: Zend Framework and Doctrine. Part 3

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 7: Zend_View Enhanced


Community Events





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


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

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