Then it goes to prove all great minds think alike in PHP...;) Using a class for the Bootstrap just makes sense when you need it to fulfil a few needs that the procedural style can't cut.
Paddy Amr Mostafa wrote: > > If I'm a bit more sleepy I would swear I'm looking at my own code ;) > > On Feb 7, 2008 1:44 PM, Rob Allen <[EMAIL PROTECTED]> wrote: > >> >> On 6 Feb 2008, at 20:57, Pádraic Brady wrote: >> >> Just to throw out another possible style. I use a Bootstrap class in >> ./application/Bootstrap.php to segregate setup stages so I can pick and >> match a few to double as setups methods for my testing environment. A >> basic >> version without a mass of Controller setup steps but adding UTF-8 >> encoding >> as default would probably look like: >> >> >> >> That's very similar to what I use. >> >> Regards, >> >> >> Rob.. >> > > ----- Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com OpenID Europe Foundation - Irish Representative -- View this message in context: http://www.nabble.com/Dispatcher-Bootstrap-ZF-1.5-PR-tp15299930s16154p15334385.html Sent from the Zend Framework mailing list archive at Nabble.com.