Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Advice Choosing a Templating System

by jdtoronto (Prior)
on Mar 02, 2005 at 18:58 UTC ( [id://435969]=note: print w/replies, xml ) Need Help??


in reply to Advice Choosing a Templating System

Hi ghettofinger,

Have you realized that you touched one of the religious touch-stones of this community? The choice of a templating system and an application framework has more to do, in many respsects, with good luck rather than good management.

For my own purposes I was using things like FormBuilder and Data::FormValidator to help be get past the 'all hand crafted' stage. I still have one legacy application I support which is now over 60,000 lines of Perl and all of the HTML is done with HEREDOC print statements. Oh boy, is that a beast to maintain. Much of it uses no external modules at all and for some of it CGI.pm is used. THe beginnings of the code must now be over 10 yearrs old - I started it in Perl 4 but it first saw the light of day as my first P5 application. Oh, did I say it does not use strict for which I regularly castigate myself now!

Nowadays my preference is CGI::Application and its related family of modules ( BEWARE - the CGI::Application::Plus family of modules are from DOMIZIO and should be avoided as suggested earlier by merlyn ). It has closely coupled support for Data::FormValidator and uses HTML::Template as its default templating system. HTML::Template might not be the most exoctic of templating systems - it has nothing like the 'oh it was once a mini-language' extensions of Template::Toolkit but is far faster to learn, far easier to teach to HTML coder types and when coupled with Cascading Style sheets has allowed me to produce some huge, highly adaptable, but very easilly maintained intranet applications.

Your mileage may vary, and almost inevitably will. But this environment has been very good to me, is well supported by a group of higly professional coders and has its own website and mailing list.

jdtoronto

Replies are listed 'Best First'.
Re^2: Advice Choosing a Templating System
by ghettofinger (Monk) on Mar 02, 2005 at 19:10 UTC

    I knew that there would be many opinions here and that is why I asked. I was hoping for many opinions, really. I like all of the advice that is given here. I have never seen a community with such well informed and eloquent members.

    I also know that once I start with one method I will be very likely to stick with it. I am really starting to ramp up some sites and I want to have them all coded with the same method to ease the administrative burden. I am super glad I asked this question and even more pleased with the response.


    ghettofinger

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-19 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found