News Feed
Sections




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

Matthew Turland's Blog:
Output Filters in Zend_View
June 05, 2008 @ 11:16:02

Matthew Turland has written up a new tutorial explaining something that isn't "currently very well documented" in the Zend Framework - output filters.

They're mentioned in passing in the Zend_View documentation, but not reviewed in detail anywhere in the Reference Guide as of version 1.5.2. I was curious enough about how to implement markup minification that I decided to trace through the Zend_View source code in attempt to discern how output filters actually worked. As it turns out, it's actually pretty simple.

He explains a simple example of how they work, using a Zend_View object to build the filters on (addFilterPath/setFilterPath), and how he created his own output filter - the Minify filter. A minifier removes the comments and whitespace in the output to help reduce its size.

0 comments voice your opinion now!
minify zendframework zendview output filter


blog comments powered by Disqus

Similar Posts

Nick Halstead's Blog: Zend Framework RC1 and Zend ACL usage

Padraic Brady's Blog: Zend Framework 1.5 And What The Future Holds

Padraic Brady's Blog: Zend Framework Contributors Mailing-List Summary; Edition #1 (June 2011)

Daniel Cousineau's Blog: Netbeans Code Completion and your Zend_View

Zend Developer Zone: Zend Webinar Wednesdays: Zend Framework 1.0 - An Overview


Community Events

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


interview voicesoftheelephpant community framework conference opinion example application php7 extension version series podcast laravel performance library symfony2 release introduction api

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