[Analysis] Templates: The good, the bad, the ugly
Jake
jake at bugzilla.org
Wed Dec 8 09:57:58 UTC 2004
Christopher Hicks wrote:
> On Tue, 7 Dec 2004, J. Paul Reed wrote:
>
>> It's like saying "To help us, you have to learn French, because half
>> of our code is in French, but the other half is in English. Oh but
>> don't worry... here's a dictionary."
>
>
> This is life in web development to some degree. You've got HTML, some
> programming language (in our case Perl) and then a choice of
> templating systems to merge these things together. What would you
> rather do, have all of the HTML generated in Perl? Then you wouldn't
> get any syntax highlighting for the HTML. We could invent yet another
> templating system. I'd love to see BZ migrate to something like
> Apache::ASP. TT2 is one of the better templating systems for any
> language, but the syntax is just fugly.
It's entirely possible that after a round of discussion we would have
came to right where we are now (eg, using the Template Toolkit). All I
was suggesting here is that it would have been nice to have had that
discussion *before* anything went in.
I actually find it kinda funny that out of everything I said, this is
the only part that got any response... :)
More information about the developers
mailing list