Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2023-02-09 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (44 votes). Check out past polls.

    Notices?