[Petal] Interoperability
Jean-Michel Hiver
jhiver@mkdoc.com
Sat, 27 Jul 2002 17:49:35 +0100
> Hi,
>
> I'm Jim Fulton, the "Zope Pope" and one of the creators of Zope Page
> Templates. I'm very happy to see a Perl implementations of TAL.
> One of the reasons I'm very happy is that I'd like to establish
> TAL, http://dev.zope.org/Wikis/DevSite/Projects/ZPT/TAL,
> METAL, http://dev.zope.org/Wikis/DevSite/Projects/ZPT/METAL,
> and, perhaps, some form of
> TALES, http://dev.zope.org/Wikis/DevSite/Projects/ZPT/TALES,
> as standards to facilitate reuse of templates among different systems.
> Is interoperability a goal of Petal? If not, I suggest it should be.
> Not only would it spur reuse, but It would provide more opportunities for
> working together. For example, I could provide a lot of insights to the
> design of these languages that could inform Petal development.
I took a lot of good ideas from TAL, but then on top of that I added a
lot of other ideas and changed a couple of things... At the moment, this
is more or less in beta stage (the module is still pretty young, but it
will be usable very soon now).
Nonetheless if I can do something to increase Petal interoperability
without sacrificing features, I'll do it. Feel free to take a look at
the Petal documentation
http://search.cpan.org/search?mode=module&query=Petal
Maybe you ought to take a look at the documentation, see what are the
similarities (lots) and differences (again, lots :-)) between the two
systems, and from there I'll happily welcome any suggestion that would
increase interoperability / usefullness of the package.
However I don't think I'll ever limit the development of Petal to
strictly the TAL spec. I mean, I like to be able to write:
$encode_html:object.title -OR-
<?petal:var name=":encode_html object.title"?> -OR-
<span petal:replace=":encode_html object.title">Dummy title</span>
Perl madmen worship the TIMTOWDI you know :-)
Best Regards,
--
IT'S TIME FOR A DIFFERENT KIND OF WEB
================================================================
Jean-Michel Hiver - Software Director
jhiver@mkdoc.com
+44 (0)114 255 8097
================================================================
VISIT HTTP://WWW.MKDOC.COM