Closed eddiejaoude closed 13 years ago
Funny, you should broach this subject. Just yesterday, I retweeted the article from Aaron Saray:
http://aaronsaray.com/blog/2011/05/24/zend-framework-bootstrap-vs-front-controller-plugin/
I wasn't really thinking about it, just mostly pleased that I understood it. ;-)
But I got a response back from Jurian Sluiman:
http://twitter.com/#!/juriansluiman/statuses/73276873609719808
Follow the thread of replies on @juriansluiman's Twitter page
Upshot: I think Jurian is right. Best to leave it as bootstrap. If we call bits of the app in other interfaces, then we can selectively bootstrap only the resources that are needed.
Whaddya think?
Thats where I got the idea from ;)
But Jurian has a good point.
After reading through more articles, apparently it is better to do view setup (i.e. doctype) in the front controller rather than the bootstrap