[Solar-talk] Moving layout vars to outside

Rodrigo Moraes rodrigo.moraes at gmail.com
Sat Jan 27 11:34:41 PST 2007


And here's the final announcement (I promise, this is last message):

Tipos_Response: "response object with built in 'smart' cache system.
Allows easy and clean mix of dynamic and cached parts in the same
page."

    http://dev.tipos.org/browser/trunk/Tipos/Response.php

In short words, it appends template blocks to a layout with or without
cache enabled, and it does all the job to fetch templates and
check/read/save the cache, when needed, keeping the controller cleaner
and centralizing the cache read/save logic in one place.

And it has a child, Tipos_Response_YuiGrids. This is targeted to be
used with YUI Grids, but any other extension can be made to use other
layout systems and enjoy the cache mechanism.

Although I use Tipos_Cache (a wrapper for Solar_Cache *with groups* -
will be commited soon), it is easy to change it to use Solar_Cache
directly.

Let me know if you have any thoughts. :-)

rodrigo


More information about the solar-talk mailing list