[Solar-talk] Router / Dispatcher, round 2

Rodrigo Moraes rodrigo.moraes at gmail.com
Sat Oct 7 12:13:10 PDT 2006


Hi, guys.
First sorry for the initial mess; the RewriteRouter port has advanced
a bit. More classes were removed, inline docs were formatted and
updated, and the whole thing is more Solarified and cleaner. But the
best part is... we now have a first working version for the Bookmarks
app.

I've started to document it here:
http://solarphp.org/wiki/TiposControllerFront

About the Bookmarks app progress: well, it works more or less. It
routes default /controller/action URL's to
Solar_App_Controller::actionAction(), which is ok to map, for example,
the url /mylinks to the bookmarks app. But unfortunatelly the
bookmarks views have a lot of things like
$this->action("bookmarks/add", 'ACTION_ADD'), which create links back
to /bookmarks. But we'll find a way to make it work very nicely.

One thing I would like to do is to free Solar_Controller_Page from all
dispatch logic, and let it continue taking care of the view and page
stuff, but not of the request and dispatch decisions. What do you
think?

I'd appreciate a lot feedback and help.
regards,
rodrigo moraes


More information about the solar-talk mailing list