On Thu, 27 Jul 2000, Jauder Ho wrote:
> The template may be kept in memory but it needs to be reparsed to
> insert real values, no?

No.  With most of these systems it turns into a bunch of "print" calls and
then into a bunch of perl opcodes, so it gets executed each time but not
parsed.

> What I would like to see is a way to say the template is static
> (header/footer) and does not need to be reparse/regenerated each time
> and comparitively small portion of the page be dynamic.

That's exactly what these do.  You can't really get faster than a compiled
print statement.

> This way, you can also store the html on the front end web server or
> akamize it and concentrate on having the app servers provide only the
> actual data.

Well, now you're talking about something different.  You could certainly
do that with a multi-server mod_perl setup, but the front end server would
have to be mod_perl and you would run the templating system there and then
make calls to another server that hands back some kind of data to be
inserted in it.  I've used this paradigm before.

- Perrin

Reply via email to