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

Bill Moseley moseley at hank.org
Fri Oct 21 02:56:14 CEST 2005


On Fri, Oct 21, 2005 at 12:21:40PM +1300, Sam Vilain wrote:
> On the other hand, with TT I can usually just happily pass the template
> my objects, and get it to do all the presentation logic.  Complete
> separation.
> 
> You can *enforce* that the separation is complete in other ways.  For
> instance, if you are using the Tangram model, then you simply don't pass
> in a storage handle to your template, so that no model changes are
> possible from the view.

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.

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list