News Feed
Sections




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

Matthew Weir O'Phinney's Blog:
Using Zend_View Placeholders to Your Advantage
March 19, 2008 @ 12:04:05

On his blog today, Matthew Weir O'Phinney offers some helpful advice about using the placeholder functions of the Zend_View component (like headScript or headLink) to make coding in the Zend Framework that much easier:

Somebody asked for some examples of how I use the headLink(), headScript(), and other placeholder helpers, so I thought I'd take a crack at that today.

He looks at the different categories of placeholders and illustrates with examples of each: Doctype Hinting, Content Aggregation, Capturing Content and finally, putting them all together into a custom layout that uses docType, headLink, headStyle and headScript.

0 comments voice your opinion now!
zendframework zendview component placeholder doctype content


blog comments powered by Disqus

Similar Posts

Avnet Labs Blog: TDD with Zend Framework - testing controllers

Zend Developer Zone: Zend Framework 1.7.5 Released (Security Fix)

Zend Developer Zone: ACRONYM or MixedCasing in Zend Framework 2? You decide!

Raphael Stolt's Blog: Teaching the Zend REST server to talk JSON

Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 6: Zend_Form & Zend_Auth


Community Events





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


threedevsandamaybe developer install list language api bugfix podcast laravel library community application wordpress introduction series release configure unittest interview code

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