Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by davorg (Chancellor)
on May 02, 2001 at 14:01 UTC ( [id://77276]=note: print w/replies, xml ) Need Help??


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

davorg's article which I found on his website and which seems to have vaporized from perl.com.

It is still on perl.com, it's just a little tricky to find. It's here.

Another advantage of TT2 that you seem to have missed, is that TT2 isn't tied to web applications. It can be just as easily used in any kind of data processing system. I know people, for example, who use it to generate DNS zone files. How easy is that with HTML::Template?

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Replies are listed 'Best First'.
Re: Re: Re: Re: Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template
by jdklueber (Beadle) on Jul 01, 2003 at 16:47 UTC
    Quite easy in fact.

    Just don't use HTML tags. All HTML::Template does is generate a string by doing replacement of <tmpl_var name='foo'> with the value of parameter foo, and a little intelligent looping and if/else/unless-ing. There's no reason you HAVE to use it only for generating HTML from processed CGI requests.
    --
    Jason Klueber
    ookami@insightbb.com

    /(bb)|^b{2}/
    --Shakespeare

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-03-28 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found