PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

ZendCasts.com: Creating Custom Application Resources

Note: This article was originally published at PHPDeveloper on 14 June 2011.
PHPDeveloper

New on ZendCasts.com today there's a new screencast showing you how to create a custom application resource for your Zend Framework application. It's the (possibly final) video in the series he's been doing with the HTMLPurifier filtering.

We've taken a library that's outside the framework and want to find an elegant solution that takes advantage of the configuration tools that are already available in the Zend Framework.

He takes the previously hard-coded settings for the HTMLPurifier and moves them into a method where they can be set in a configuration file. You can watch the video via the in-page player.