after extensive tests of several frameworks I have decided to work with Yii. So far I am quite happy with my decision!—There is only one question which I cannot find any answer for so far:
Please, could you tell me where the best place/what the best way is to hook in code which should be executed application wide? I am thinking along the lines of authentication/authorization or I18n that I would like to keep in a central location and not repeatedly write/maintain in each controller…
A module? A base controller? A plugin? … I thought you might like to share your best practices and point me in the right direction.
Thanks in advance for your kind help and patience with a Yii-newbie.