Using your own View object with Zend_Application
Let's say that you want to use your own view object within your Zend Framework application. Creating the view object is easy enough in library/App/View.php: class App_View extends Zend_View { // custom methods here } along with adding the App_ namespace to the the autoloader in application.ini: autoloadernamespaces[] = "App_" All we need to now is get Zend_Application to bootstrap with our new view class. There are two ways of doing this: within Bootstrap.php or… continue reading.