Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template

by merlyn (Sage)
on Apr 26, 2001 at 03:44 UTC ( #75661=note: print w/ replies, xml ) Need Help??


in reply to Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template

In Template, Perl sections are controllable with a config param. So you can force all Perl code to be outside of template files. UhOh #1 goes away.

And by giving a nice mini-language, presentation logic can be encoded in the template, while data logic is traditionally coded in the Perl side, and carefully controlled. Yes, people blur it in both directions, but that's a style issue, not inherent in the design.

And to the comment that HTML::Template is cached under mod_perl, well, so is Template. {grin}

-- Randal L. Schwartz, Perl hacker


Comment on Re: Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2015-07-06 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls