Phil Brown's Web Development Blog

Entries Tagged ‘resource plugins’

Where’s my Front Controller?

I’ve been spending a bit of time on StackOverflow lately and have even earned myself a bronze “Zend Framework” badge. One thing I continually see in questions surrounding the bootstrap process and resource plugins is this… protected function _initSomething() { $front = FrontController::getInstance();   // and so on This is not the right way to […]

Extending Zend Framework Application Resource Plugins

With the arrival of Zend Framework version 1.8 came the application resource plugins. These nifty little classes help bootstrap your application’s resources (views, layouts, database connections, etc). The default behaviour is suitable for most needs however, occasionally, you’re going to want to perform some extra functionality. Take for example the following use case – the […]