I am trying to determine which of these two templating systems to standardize on. We currently use HTML::Template for some of our projects, but I am starting a more complex project and the Template Toolkit seems to be much more powerful, allowing a lot more logic inside the template so CGI's don't have to be updated for minor changes. While HTML::Template is simpler, especially for non-programmers to write templates, it seems that either one involves requiring people to learn some new syntax anyway. We will be using the templating system on both live CGI's (mostly on non-mod_perl systems) and to produce static pages. The two issues in deciding which one to go with are ease of use and speed. I would appreciate hearing comparisons between the two especially in terms of how fast they operate and output pages, as well as any other pros and cons. Thanks!

In reply to HTML::Template vs. Template Toolkit by DBX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.