[Solar-talk] Re: Controller_Front::fetch() vs. Controller_Page::load()

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Jul 5 01:11:49 CDT 2007


2007/7/4, Rodrigo Moraes:
> The biggest problem imo is that the
> page controller decides about the action that will be executed; you
> have to "cheat" it passing a "fake" uri for it to extract the action
> you want. Because of this, I think that the first part of _load()
> should be a bit different:

I've added to the wiki some code examples to illustrate what I meant,
and some drafts for proposed changes:

    http://solarphp.org/wiki/proposals/ControllerAction

Please let me know what you think. One thing I'm wondering: is the
page controller used in other ways than through the front controller?
If the answer is yes, I could understand why Solar_Uri_Action is
needed by the page controller. I wish it was not... :(

thanks.

-- rodrigo


More information about the Solar-talk mailing list