News Feed
Sections




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

Artur Ejsmont's Blog:
How to structure a Zend Framework application and it's dependencies
July 11, 2011 @ 09:17:40

Artur Ejsmont has a recent post to his blog with some recommendations on how to structure a Zend Framework application and its dependencies to make it both easy to maintain and extend in the future.

I don't mean to be negative but I am not too happy about the web application structure that most articles and books present. In Zend Framework world controller seems to be the place when things get done. Controller is the workhorse and this is where all the logic seems to be buried.

He talks about the non-reusability of controllers outside of a web-based environment and the bad habits that can come from depending on variables of that environment. He's come up with a diagram of how he thinks a good, modular Zend Framework application should be structured where the emphasis is on Services, not web requests. He looks at database aware/agnostic services, working with models, third-party code and working with external systems. He also touches on the "V" and "C" in MVC, noting how the views and controllers still fit into the mix.

0 comments voice your opinion now!
structure zendframework application dependency opinion


blog comments powered by Disqus

Similar Posts

Daniel Krook\'s Blog: Public draft - Developing PHP Applications for IBM Data Servers

Olek Janiszewski's Blog: Autotest-like PHPUnit runner for a Zend Framework application

Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...

Learn Computer: Is LAMP Pack Still Strong?

Jan Lehnardt's Blog: REST Controller for PHP Applications


Community Events

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


interview language series extension voicesoftheelephpant introduction unittest api laravel wordpress php7 community version framework laravel5 podcast list library release opinion

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