mark_ellul
|
|
« on: June 20, 2008, 01:16:31 » |
|
Hi,
I am using the Module Pipeworks and Modularity Demos as a reference guide, and I saw in the Shell Views that they implement the interfaces that communicate to the Modules.
Is there any reason why its the View and not the Mediator for the Shell View?
The reason I ask is that I am making a module based project, which has a login in the shell, and basically after login, the shell will get the user roles, and load up modules... each module will need to know the user roles, so I have a getUserRoles() to be able to retrieve the user roles.. However I had not planned on storing the roles in the View Component, as its already in the Model Proxy.
Is there another approach to implementing the ModuleShell Interface that has the ability to retrieve data from the Proxies?
Regards
Mark
|