Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: HTML::Template : How to separate code and html with lesser maintenance issues

by sara2005 (Scribe)
on Nov 21, 2006 at 18:16 UTC ( [id://585321]=note: print w/replies, xml ) Need Help??


in reply to Re: HTML::Template : How to separate code and html with lesser maintenance issues
in thread HTML::Template : How to separate code and html with lesser maintenance issues

Thanks for the info.

But the documentation for HTC says that it could slow down things under certain circumstances, which I don't want. I would rather try to do things with just H::T

The best performance gain is probably reached in applications running under mod_perl, for example. If you don't use memory caching (e.g. CGI environment), HTC will be even slower than H::T. If you don't use caching at all (e.g. CGI environment without file caching), HTC will be much slower than H::T and TT

  • Comment on Re^2: HTML::Template : How to separate code and html with lesser maintenance issues

Replies are listed 'Best First'.
Re^3: HTML::Template : How to separate code and html with lesser maintenance issues
by tinita (Parson) on Nov 22, 2006 at 08:31 UTC
    But the documentation for HTC says that it could slow down things under certain circumstances
    yes, if you are in a CGI environment and you can't use filecaching, for whatever reason.
    but in that case your script will be slow anyway because the interpreter has to start it all over again every request, so the speed difference won't be that big compared to the overall execution time.
    and last but not least, if speed is *that* crucial for you you should switch to mod_perl or FastCGI anyway.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://585321]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-20 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found