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.

Reply via email to