News Feed
Jobs Feed
Sections




News Archive
Rob Allen's Blog:
Simple Zend_Layout Example
December 12, 2007 @ 12:01:00

Rob Allen has posted a simple example of the Zend_Layout component (since it's in the trunk now) both with a screenshot of the output and the method to set it up.

This example consists of three view files: the outer layout file, the index action view script and a right hand side bar. The remainder of this post describes the key files. If you just want to poke around with the code, then it's at the bottom, so page down now!

He defines the directory layout, sets up his bootstrap file and creates the parts that do the work - the controller and the two-step view layer (with the "inner" scripts that output the information and the layout itself the content fits into).

0 comments voice your opinion now!
screenshot zendlayout zendframework example component screenshot zendlayout zendframework example component


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Under the Hood of Yii's Component Architecture, Part 3

Zend Developer Zone: Chaining language with default route

Make Me Pulse: Using Memcached with PHP Zend Framework

Stefan Mischook's Blog: PEAR vs. Zend Framework

Alexander Netkachev's Blog: Automatic testing of MVC applications created with Zend Framework


Community Events











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


development example framework introduction podcast testing opinion composer community zendframework2 tool functional object phpunit interview series language database code release

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