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.