WebCorp s.r.o. | Jan Juříček wrote:
> 
> I've developed a solution using custom routes and router, allowing to
> detect
> the application mode based on the first part of the url (/admin loads
> admin
> controllers, /iphone loads iphone controllers and anything else loads
> default controllers). They all share the models, so the only thing
> separated
> is controllers, views and sometimes helpers. When I decide to add or
> remove
> a module, I remove it completely from one place.
> 

I did exactly that and it worked very well. Then I moved to having the admin
system run on a sub domain so I have a different primary file for initiating
the bootstrap and app. This allows me to use different controller
directories as I ran into the simple problems of security (without ACL /
Auth) in that any admin controller can be run from the main app. With a sub
domain it allows me to password it (or in turn use ACL / Auth).

Simon

-----
Simon

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Admin-module-tp25111257p25111481.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to