I run an intranet site which gets data on marine claims out of a database. The various perl scripts generate XML output which are then transformed by XSLT into pure HTML (and CSS provides for the standard look as per our corporation's "look and feel" guidelines).I run one large XSLT file for all the webpages and if something global needs to be changed I do it in one place and everything follows.

Recently a customer requested that certain columns on the webpages needed to be summed. This only was a small change in the XSLT and nothing had to be changed in the scripts. Now you probably are going to say that you could just as easily have amended the template (but probably many different templates needed to be adapted) and you are probably right. But XSLT has a lot more possibilities than any templating system. In that, it is less (or even not at all) a mark-up language (certainly not a pure mark-up language) than a programming language in its own right.

Yes it means you have to learn an extra language, but I happen to like it and it provides nice buzzwords to pacify the PHB!

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law


In reply to Re: •Re: Re: Re: Re: HTML::Template - what's the rule of thumb? by CountZero
in thread HTML::Template - what's the rule of thumb? by kiat

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.