I recommend integrating with Symfony DI component. I use this as my
bootstraps container. Much more flexible, and only instantiates object
once they are called upon.
On 9/3/2010 12:08 PM, Hector Virgen wrote:
I'm a big fan of Zend_Applicaton's bootstrap resources and use them
for just about every resource my app may need including custom ones.
However, not all pages need all resources. Is it possible to lazy-load
the resource so that it's instantiation is deferred until calling
$bootstrap->getResource()? If not, I'll try extending the bootstrap to
support this.
--
*Hector Virgen*
Sr. Web Developer
Walt Disney Parks and Resorts Online
http://www.virgentech.com