But, 1-1 is my most common thing ... Remember - you should be separating display from logic. If you need to have a bunch of display-logic in your logic, you haven't really made things easier on yourself, have you?That's reassurring to hear. I'm kinda facing a dilemma deciding on how best to use a template - a decision between having a template serving a couple of different outputs (hence, requiring possibly some display logic in the template) and being more generous in the creation of templates for different outputs.
It's a delicate trade-off, no doubt. While it makes good sense to have similar outputs share the same template, trying to push things to the limit will only make easy things difficult (which is so unperlish :))
I'll remember this when I remember one of perl's virtues: Easy things should stay easy.
In reply to Re: Re: Template::HTML - what's the rule of thumb?
by kiat
in thread HTML::Template - what's the rule of thumb?
by kiat
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |