[Solar-talk] Performance ideas

Richard Thomas lists at cyberlot.net
Tue Oct 16 15:52:39 CDT 2007


yea looking at your code made me remember my last thought.. intergrate caching..

For example theres no reason to process the same url over and over
again, when you can cache the url and the final processed route.

Thats one of the problems it seems ZF is having.. They started out
trying to make there framework so modular that each piece doesn't need
the other for the most part but now doing something like adding
caching throughout is a little overwhelming, they want to be able to
cache things like the table data in there db adapter but can't decide
how to do it.

On 10/16/07, Rodrigo Moraes <rodrigo.moraes at gmail.com> wrote:
> 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
> _______________________________________________
> Solar-talk mailing list
> Solar-talk at lists.solarphp.com
> http://mailman-mail3.webfaction.com/listinfo/solar-talk
>


More information about the Solar-talk mailing list