News Feed
Sections




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

Padraic Brady's Blog:
Complex Web Pages with the Zend Framework?
April 03, 2008 @ 12:04:13

On his blog, Padraic Brady talks about the creation of custom web pages (in the Zend Framework) with the help of the Zend_View enhancements that have been introduced lately.

With the inclusion of Zend_View Enhanced as first documented, discussed and publicized in this blog series, in the Zend Framework as of 1.5.0 I'd like to thank everyone involved in the process. [...] 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?

Normally, a call to _forward() would have been the norm, but this was more often overly complex for what the developer wanted to do. The new Composite View and View Helpers seem to be the remedy. They make it simpler to grab that information and pull it in without the need to make a whole other framework request to do so.

0 comments voice your opinion now!
zendframework complex page compositeview viewhelper zendview


blog comments powered by Disqus

Similar Posts

Gergely Hodicska's Blog: Extending Zend_Acl to support custom roles and resources

Stefan Mischook's Blog: Setting up an MVC structure with the Zend Framework - part 1

PHPImpact Blog: Loading models within modules in the Zend Framework

Michael Girouard's Blog: Rolling Your Own MVC: The Page Load Scenario

7PHP.com: Interview with Matthew Weier O'Phinney - Project Lead of Zend Framework


Community Events

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


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

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