in reply to Re^2: mini-languages for MVC view/controller manipulation
in thread mini-languages for MVC view/controller manipulation
Doesn't this same issue apply to most templating packages . . . ?
Probably. If there is anything special about H::T, it's that its default tag syntax is a bit lengthy. Compare to Text::BasicTemplate:
Hi %if foo%include%fi% Hello
(Note that Text::BasicTemplate doesn't have an equivilent to TMPL_INCLUDE by default, though it can call out to Perl subroutines.)
That's a much more condensed example that, IMHO, works better for plaintext.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|