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 Views with the Zend Framework - Part 3 Composite View Pattern
April 27, 2007 @ 11:41:00

In his continuing look at using the composite design pattern inside the Zend Framework views (as helpers), Pádraic Brady has posted part three demonstrating the creation of complex views.

In this post, I offer a brief explanation of the Composite View pattern. It's beyond its scope to show an implementation using the Zend Framework though that's what I'm building up to accomplish in a later blog entry.

He goes through what the design pattern is (including a UML diagram showing it's relations) and how it's commonly used. Following this, he shows a little bit of the code in action that includes the use of an attach() method to include the "child Views" at certain locations.

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


blog comments powered by Disqus

Similar Posts

Elated.com: Object-Oriented PHP: Autoloading, Serializing, and Querying Objects

Angular Tips: Working With a Laravel 4 + Angular Application

The Bakery: Lots of New Articles/Tutorials/Components

Lineke Kerckhoffs-Willems' Blog: How to use the Symfony2 SonataAdminBundle

PHPBuilder.com: Using XML - Part 6: Validation


Community Events





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


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

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