Hi there,

I'm looking at putting together a multi-lingual site that employs Zend_Auth,
Zend_Navigation and Zend_Locale. The site will have modules for a marketing
site as well as a product site and potentially another module down the line.
Here are the questions:

- Would it be best to have a several Controller Plugins that load the right
Zend_Navigation container, the right translation file, layout and perform
authentication, or should I create a special base controller for each of the
controllers in their respective modules? Base Controllers are pretty much
impossible to unit test (from what I can tell), however is there a hit for
having a 3-5 action plugins with their own preDispatch hooks? I'd like to
avoid putting all this module-specific login in the Bootstrap since it would
be mixing concerns.

If you've come up with such an architecture, I'd be curious to know what
you've concocted!

Thanks,
-
Jon Lebensold

Reply via email to