[Petal] TT3 & Petal (was: Template Toolkit puzzlement)
Steve Purkis
spurkis at quiup.com
Tue May 20 18:04:18 BST 2003
Hi all,
After seeing the message below posted on London.pm a while ago, I began
to wonder if Petal could become a flavour of the Template::Toolkit?
This would bring about all the advantages of the TAL language, along
with the features of TT. As TT3 is in the makings, I thought now would
be a good time to investigate.
I have images of Perl template writers joining forces to create a
standard API while preserving the features of each template system...
Bundle-Template perhaps? :)
-Steve
Begin forwarded message:
> From: Andy Wardley <abw at andywardley.com>
> Date: Tue Apr 29, 2003 11:50:14 am Europe/London
> To: london.pm at london.pm.org
> Subject: Re: Template Toolkit puzzlement
> Reply-To: london.pm at london.pm.org
>
> [snip!]
>
> One of the things I'm trying to acheive with TT3 is to make a clearer
> separation between common, reusable modules that are generic to
> template
> processing, and modules that are specific to the TT mini-language(s).
>
> I'm hoping that this will make it easier to reuse parts of TT without
> having to incorporate the whole framework. So, for example, if you
> wanted
> to write your own template processor, but re-use the TT provider
> mechanism,
> then you could do so and take advantage of various different TT
> providers
> available (e.g. filesystem, database) but without having to use the
> whole of TT. Or you might choose to re-use the service framework,
> parts
> of the parser, the filter or plugin mechanisms, but without the
> overhead
> of the whole caboodle.
>
> Thus TT will become more of a toolkit for writing template processors
> and
> TT2 and TT3 will be particular mini-language dialects written using the
> Template Toolkit.
>
> Well, that's the plan anyway.
>
> A
>
More information about the Petal
mailing list