On Mon, Jun 18, 2001 at 07:54:36PM +0100, David Cantrell wrote:
> On Mon, Jun 18, 2001 at 04:46:25PM +0100, Leo Lapworth wrote:
> > I'd also like to mention HTML::Mason - Euuu, No, no and thrice no!
> > (ok, has some nice 'bits' but NO!!!! - thou shalt not put thy
> > HTML and thy Perl in the same file).
> It is NOT POSSIBLE to completely divorce presentation/application.
> So you end up with all sorts of languages made up to be mixed in with
> the presentation - like PHP and the mini-language of TT. Why are
> those OK (I'm thinking specifically of TT - we all know PHP sucks for
> other reasons) but plain ol' perl isn't?
Ohmigod, I'm agreeing with Cantrell on something!!
Despite having written an embedded perl templating system, I'm now very
much in favour of one where the tags are just delimiters as far as possible.
Thus I think things like HTML::Template are actually better than TT2,
precisely because the toy language in TT2 is just as bad as embedding code.
See my point about SQL, as it's related to this.
Matthew Byng-Maddick <[EMAIL PROTECTED]> http://colondot.net/