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

Creating Custom Application Resources
Jun 14, 2011 @ 08:55:50

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.

tagged: zendframework custom application resource