Syntax is a major issue. Though it's pretty easy to fix. I've used Template toolkit a few times in the past but decided after your post to give it a fresh look. (I haven't looked at it in some time) and it does seem to be a lot closer to what I'm thinking. Still dislike the syntax, but again easily fixed.

What I've been working on is a bit different from this. Without getting too specific, It's part of a more unifed way of looking at internet apps. More of a layer around it at it's basest level. Meaning that if you run a regular pre-canned script under it, it still gains some of the advantages. If you're app is aware of it, it can use it to great advantage wether it uses CGI.pm, HTML::Template, Template Toolkit or HEREDOCS. There is also a Perl-esque language to sit on top of it. It has many perl functions (var types too) but is not Perl. The interperater is written in Perl but does no direct evaluation of expressions or var access in Perl. Hopefully it will be fast but my main reason for doing this is for writing large applications. Not nearly as concerned with 1 ~ 2 page scripts. Of course it's a big undertaking and with something so intermingled, it's hard to draw the design lines clearly. (I'd like it to be extensible too, run under mod_perl, etc). When all is said and done, I might just scrap most of it and rewrite it to use existing tools but who knows. Who knows :)

-Lee

"To be civilized is to deny one's nature."

In reply to Re: Re: Re: Reinventing the spaceship by shotgunefx
in thread Reinventing the spaceship by nothingmuch

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.