[Solar-talk] Performance ideas
Rodrigo Moraes
rodrigo.moraes at gmail.com
Tue Oct 16 15:45:08 CDT 2007
On 10/16/07, Paul M Jones wrote:
> Rodrigo Moraes has developer a
> ZF-like regular-expression router that is a drop-in replacement for
> Solar_Controller_Front, so you have pick which of the best worlds you
> want to live in.
Hey, Paul, Richard.
Just to explain it a bit more: Lux_Controller_Router is an extended
Solar_Controller_Front with a ZF-like routing mechanism. Basically
I've ported/"solarified" route classes from ZF, so that routes can be
set in a Solar config file. It is an all-in-one class (Front, Router
and Dispatcher) which falls back to Solar_Controller_Front if no route
is set.
It is very simple and probably rudimentar compared to ZF's controller
system, but it works well for me. :) I prefer to control routes
separately, and like the idea of "abstract" url's, so that's why I
brought this to Solar. The route class I use most is the
regular-expression based one, but all route classes from ZF were
ported (Route/Static/Regex).
That's it. If you are interested, take a look at it, and if you have
ideas let's make it better. :)
Classes are here: http://lux.googlecode.com/svn/trunk/Lux/Controller/
And the project's page is here: http://code.google.com/p/lux/
cheers,
rodrigo
More information about the Solar-talk
mailing list