[Petal] [jhiver@mkdoc.com: Templates comparison]

Jean-Michel Hiver jhiver@mkdoc.com
Fri, 4 Oct 2002 16:19:06 +0100


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Forwarded to the mailing list for reference... just a shameless attempt
to get some publicity done around Petal :-)

Cheers,
-- 
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

--FL5UXtIhxfXey3p5
Content-Type: message/rfc822
Content-Disposition: inline

Date: Fri, 4 Oct 2002 16:17:10 +0100
From: Jean-Michel Hiver <jhiver@mkdoc.com>
To: perrin@elem.com
Subject: Templates comparison
Message-ID: <20021004151710.GA4628@mkdoc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i

Hi,

I have seen your article [1] about Perl template engines comparison on
the new shiny mod_perl site, and it would be good if you could include
the CPAN templating system which I wrote: Petal.

The module is on CPAN, it is now a few month old, has been tested quite
extensively through its small but enthusiastic user base. From the
README file:

-------------%<---------------

  Petal stands for "Perl Template Attribute Language". It is inspired
  from the Zope Page Templates TAL specification, and lets you write
  elegant, WYSIWYG friendly templates such as:

  <ul petal:condition="user/list">
    <li petal:repeat="user user/list"
        petal:content="user/login">
        Dummy UserName
    </li>
  </ul>

  Petal prefers to process XML template files (that can be SVG, XHTML,
  VoiceXML, whatever) using XML::Parser, however for convenience HTML is
  also supported (using HTML::TreeBuilder).

------------->%---------------

You can get more info by reading the module documentation on CPAN [2]
and by browsing the mailing list archives [3].

Needless to say Petal is open-source, and placed under the Perl Artistic
License.

All the best,

[1] http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html
[2] http://search.cpan.org/author/JHIVER/Petal-0.74/lib/Petal.pm
[3] http://lists.webarch.co.uk/mailman/listinfo/petal

-- 
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

--FL5UXtIhxfXey3p5--