Hi all.

For a new web-application im trying to find out what the best templating system is to use.
The app follows the mvc pattern.
Right now i've looked at HTML::Template(::Expr), HTML::Template::Pro, ZM::Template and Petal.
I'm trying to find out what the pro's and cons are for these templating systems, and why i should prefer one over the other.
Any suggestions (and experience) with these?
thanks again

Update
Thanks for the reactions, for now i'm convinced to use Petal, i only don't know the memory usage of it yet...
* Internationalized (i18n) * The template can be viewed in any browser / editor, the petal ta +gs are embedded in the html-tags. * Straight forward (small learning curve when used to HTML::Templa +te) * Petal provides a mini-language * Petal is xml-based, which is fine if you have well-done XHTML. * It's pretty mature and has an active community. * Installable with apt-get install libpetal-perl * The HTML beforehand is well formed, includes sample values for t +he dynamic parts and all you have to do with Dream weaver is apply st +yles to the sample data and all will be well. At template compile tim +e, all the sample data is discarded and then at run time, the real da +ta is inserted. Cons * The thing that takes the most getting used to is that it's a lit +tle verbose. Unfortunately this is a necessary side effect of being t +ruly compatible with XML/HTML.


"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

In reply to choosing the best templating system by jbrugger

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.