News Feed
Sections




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

Pádraic Brady's Blog:
Complex Web Pages with the Zend Framework?
April 19, 2007 @ 14:50:00

In a new blog entry, Pádraic Brady (and fellow developers) start off their look at the Zend Framework. They begin with a foundation structure (Java BluePrints Pet Shop for J2EE's example) and work up from there to develop their own application. Unfortunately, when they get to the Views of the app, things get a little tricky:

Back on track, the main problem of a complex View, is that the current Controller is only aware of a subset of its own required Model (data) and the current View. So how do do you get the View to include extra sections - for example, details from Technorati for your blog - which are common to ALL pages?

The framework's documentationComposite View and View Helper combination, to accomplish the "reusable page bits" they need.

0 comments voice your opinion now!
zendframework template view designpattern composite zendframework template view designpattern composite


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase

PHPClasses.org: php|architect's Guide to Programming with Zend Framework

DevShed: Completing a Web Site Template using Inheritance in PHP 5

ProDevTips Blog: Nice ZF, jQuery and Smarty combo

Padraic Brady's Blog: Self-Contained Reusable Zend Framework Modules With Standardised Configurators


Community Events

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


unittest api opinion extension community laravel library laravel5 interview voicesoftheelephpant wordpress podcast series middleware conference introduction language release framework development

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