2009/9/28 Tom Graham <tom.gra...@jadu.co.uk>: > I will usually just bootstrap whatever I need, so lots of > $application->bootstrap('Db') type calls rather than a single > $application->bootstrap() call. Haven't yet had a need for separate config > sections/files.
Yeah I have been ok just bootstrapping the various resources that I need, though if I need separate config I would go for a new environment section most probably. This way of boostrapping is great, now I have application.php (web), endpoint.php (service), cli.php (cli) > > Tom > > 2009/9/28 Pádraic Brady <padraic.br...@yahoo.com> >> >> I'm actually curious about this myself - how are people differentiating >> their application.ini settings between a web environment and console >> environment? Another inherited settings section? A separate config file? >> >> Paddy >> >> Pádraic Brady >> >> http://blog.astrumfutura.com >> http://www.survivethedeepend.com >> OpenID Europe Foundation Irish Representative >> >> >> ________________________________ >> From: Sudheer Satyanarayana <sudhee...@binaryvibes.co.in> >> To: Zend Framework General <fw-general@lists.zend.com> >> Sent: Monday, September 28, 2009 2:11:47 PM >> Subject: Re: [fw-general] bootstrap application from CLI >> >> >> > >> > The problem is, Zend_Application instantiates the front controller which >> > in turn registers the FlashMessenger action helper. This throws the >> > Zend_Session exception. >> Sorted it out. >> >> In my application.ini config file, I had defined a layout resource. This >> was bootrapping the view resource which in turn was bootstrapping the front >> controller resource. >> >> >> -- >> With warm regards, >> Sudheer. S >> Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, >> Personal: http://sudheer.net >> > > -- ---------------------------------------------------------------------- [MuTe] ----------------------------------------------------------------------