in reply to HTML::Template - what's the rule of thumb?
Now, <TMPL_IF>'s are not all bad, but if you start having a bunch of them, and they're unrelated, you should probably break it out into a bunch of templates, using <TMLP_INCLUDE>'s and make things easier on yourself. 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?
------
We are the carpenters and bricklayers of the Information Age.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Template::HTML - what's the rule of thumb?
by kiat (Vicar) on Dec 18, 2003 at 14:30 UTC |