OT: Templating systems (was RE: [Catalyst] New default screen for Catalyst)

Perrin Harkins perrin at elem.com
Fri Oct 21 03:05:34 CEST 2005

Bill Moseley wrote:
> I've often wondered how to do that with TT and CDBI combination.  Kind
> Rather crude, but maybe wrap the $tt->process call in something that
> disables everything except selects.

We talked about this a while back on the TT list.  I have two quick 
ideas for you:

Give the object a read-only database connection to use.

Change the set() method in your objects to a no-op before passing them 
to TT.

- Perrin

More information about the Catalyst mailing list