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

Cal Evans' Blog:
Quickie Zend Framework Bootstrap Note
Aug 13, 2009 @ 18:25:14

Cal Evans has posted a Zend Framework quickie for working with the bootstrap in your application.

I’ve been teaching a Zend Framework class this week and my students have been throwing all kinds of questions at me. Most recently, while we were discussing creating a Bootstrap class for an application a question came up about the _init* functions.

The documentation talks about the bootstrap loading those init functions, but it leaves out the order they're executed in. Cal did a bit of research and found that they're executed in the order they're created with one exception - if you specify one to run first in the bootstrap constructor.

tagged: zendframework bootstrap init function

Link:


Trending Topics: