Robert Basic has a quick new post to his blog today showing how to load custom module plugins in your Zend Framework application.
I was trying to load a Front Controller plugin which resides in app/modules/my_module/controllers/plugins/ and not in the 'śusual'ť lib/My_App/Plugin/. I want this plugin to be called in every request and I want the plugin file to be under it's 'śparent'ť module.
To solve the problem he added a path to the Zend_Application_Module_Autoloader as a resource and registered it in the front controller. He includes some code to show how it works - a simple bootstrap with two _init functions, one for the news autoloading and another for plugins.