[Solar-talk] Nested controllers
Rodrigo Moraes
rodrigo.moraes at gmail.com
Sun Oct 1 21:57:37 PDT 2006
On 10/1/06, Travis Swicegood wrote:
> It seems very similar. My question would be what happens when the code
> for an app becomes complex enough to require multiple controllers that
> all should share the same layout?
I've been facing these questions. I created my own front controller
some time ago, and now I want to move to a more generic solution
because my front controller works specifically to one of my apps - it
was set as a "temporary" hack. It decides, for example, which app
should be called depending on the subdomain that is acessed (using
dynamic subdomains).
> My intent here is to figure out how to break up an app into multiple
> smaller controllers so each of them is very specific, very focused in
> what they do.
I've been thinking on this, and trying this and that, and would like
to test any solution you have. I plan to dedicate this week to the
front controller / dispatcher parts of my app and wonder if a port
from the Zend Dispatcher would be something worth or reasonable. What
do you think?
rodrigo
More information about the solar-talk
mailing list