I've seen Sean Burke's articles and up until now this seems to me to increase the work/time necessary to produce the templates, site and code in relation to Template::Toolkit, for instance.
I guess for me what I like are standard technologies that I already know. I know Perl (to some extent). I know HTML. I don't savor learning the intricacies, exceptions, and shortcomings of pseudo-languages. For example, did you know that Template Toolkit only does string comparisons and not numeric comparisons.

Regarding template production, my original post showed how little work needs to be done to the HTML: you just pop little id tags in wherever you want to do some sort of tree rewrite. Then you just code up a little TreeBuilder/Seamstress to do the tree rewrite and thou art finished.

Not to mention the snowball's chance in hell of a webdesigner actually learning to use that system.
Dynamic HTML is the programmer's responsibility. Static HTML is the webdesigner's reponsibility. He would have nothing to learn vis-a-vis Seamstress.
Please tell me I'm wrong, and show how easy and simple to use that method can be.
Well, the simplicity is in the fact that you have 2 well-known rock-solid technologies (Perl and HTML) and nothing else. I will post today a Hello world program.

DBSchema::Sample


In reply to Re: Re: HTML Templating as Tree Rewriting: Part I: "If Statements" by princepawn
in thread HTML Templating as Tree Rewriting: Part I: "If Statements" by princepawn

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.