This looks useful as well. I think i might bench HTML::Template and
Text::TagTemplate against one another for memory usage. (i'm sure
speed is comparable and barely noticeable. the more apache forks i can
get the better though)
If/else and loops are already 'too much' -- I essentially just want
variable substitution. I want designers to be able to work on a page
and not need to know anything about the code/logic. Names go here,
dates go here, etc. I have a bunch of custom mod_perl stuff that
handles everything right now. I just want to split the code out of the
handler routines.
On Aug 12, 2005, at 3:50 PM, Perrin Harkins wrote:
On Fri, 2005-08-12 at 14:30 -0400, Jonathan Vanasco wrote:
can someone suggest to me a templating system that does not have a
mini-language or is 'executed' - or if it is, it is with low overhead
-- i don't want to compile more into the mod_perl process than
necessary
You basically just described HTML::Template. The language in it is
minimal (IF/ELSE, loops) and you can't really do useful templating with
less than this.
You could also look at just using SSI (or Apache::SSI). Under
mod_perl,
SSI allows you to grab the results of Perl subs from within the page.
- Perrin