I like it.

stiller mentions above that "... this approach looses something I really like about Template: solid visual clues to the web-designers about what they must not change..." That's fine, because there are plenty of solutions out there that are geared towards the web designer and programmer being separate. This is a neat solution for those who are doing both ends of the design, as it eliminates the interim templating language step.

Like you, I never had the patience to learn a templating module beyond the simple (but great) HTML::Template. That's not too ideal because for some things that HTML::Template doesn't handle, I end up mixing some HTML into my Perl and outputting that into the template.

Again, I like it, and think it would be a good solution for people who do both the web design and the programming but want to keep their HTML and Perl somewhat separate.


In reply to Re: RFC - Template::Empty by amarquis
in thread RFC - Template::Empty by redhotpenguin

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.