NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Sounds great (Score:2)
-sam
Re:Sounds great (Score:1)
Why Choose just one? (Score:1)
Get CGI::Application::Pligin::TT and use both!
http://cpan.uwinnipeg.ca/module/CGI::Application::Plugin::TT [uwinnipeg.ca]
Re:Why Choose just one? (Score:1)
I am the level in my Perl learning where I really need to focus on one or the other. Once I get that down then I will look at combining them. One of my goals was to use "as little as possible" in my development of the web app.
I am leaning towards CGI-Application and HTML-Template as HT is a "simple" yet "powerful" paradigm. That and I really dig CA's run modes.
Re:Why Choose just one? (Score:1)
Well the plugin allows you to use C::A's runmodes but use TT as the template language ( no need for
[% USE CGI %]in your templates or any other of the more involved constructs that can make TT more like programming than templating).Re:Why Choose just one? (Score:1)
I meant to say this:
The plugin that I mentioned allows you to replace HTML::Template with TT as the templating language.
TT as a templating language is very easy, most of the time you don't need anything more complex than
[% PROCESS %] [% FOREACH %]or[% variable.property %]I prefer using TT, but good luck with your project with whichever approach you choose.