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

Dan Boger perl at peeron.com
Wed Oct 19 18:35:16 CEST 2005


On Wed, Oct 19, 2005 at 05:08:27PM +0100, Nigel Metheringham wrote:
> The main downside to HTML::Template from my point of view is that you
> end up manipulating the data in the code to match the presentation, so
> if you change anything in the presentation (other than really basic
> tweaks) you end up modding the code - for example to do sorting you
> have to fiddle it in the code rather than the presentation layer.

Yah - that, exactly, is the reason I regret choosing H::T a few years
back.  There are now huge chunks of my code that deal with massaging the
data to fit the template.  

I think it enforces the lack of code in the presentation, but forces
presentation details into the code.

Dan




More information about the Catalyst mailing list