Maybe this would be barking up the wrong tree as its vague as to what sort of application you are creating, and what functionality one user might have that another doesnt, but I would have thought using Zend_Layout and Zend_ACL would be better. It seems more logical to me. It could be done using modules, but I would think it would become a nightmare to maintain.
Chris. JDempster wrote: > > It sounds plausible to me. You might want to create a > Zend_Controller_Plugin > to do it, I'm not sure. Anyone else any ideas? > > On Wed, Apr 9, 2008 at 6:21 AM, photo312 <[EMAIL PROTECTED]> wrote: > >> >> I would like to "turn on" controllers dynamically depending on the user >> logged in...so if the user type logged-in is "client" than it would load: >> >> $controller->setControllerDirectory(array( >> 'default' => '../application/client/controllers' >> )); >> >> this way I can have my modules in different directories and only use the >> controllers that are residing in the directory that suits the user type. >> >> >> >> >> >> photo312 wrote: >> > >> > I have 4 different user groups and each user group will get different >> > functionality and looks. So I have decided to divide it up into modules >> > with separate front controllers each. >> > >> > Can you please tell me if this modular directory structure would work >> well >> > in Zend Framework: >> > >> > ----library/ >> > -----------Zend/ >> > ----config/ >> > ----public/ >> > -----------index.php >> > ----application/ >> > -----------default/ >> > -----------------controllers/ >> > -----------------models/ >> > -----------------views/ >> > -----------------------scripts/ >> > -----------------------helpers/ >> > -----------------------filters/ >> > ------------client/ >> > ------------------controllers/ >> > ------------------models/ >> > ------------------views >> > -------------------...just like above >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Creating-a-Modular-Dir-Structure-tp16578887p16579738.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Creating-a-Modular-Dir-Structure-tp16578887p16597984.html Sent from the Zend Framework mailing list archive at Nabble.com.
