Menu

pltenjin 0.0.2 released - the fastest template engine

I have released plTenjin 0.0.2.
http://www.kuwata-lab.com/tenjin/

plTenjin is a temlate engine for Perl.
It is the fastest template engine in the Perl world.
plTenjin is about five times faster than Template-Toolkit
in spite of plTenjin is implemented in pure Perl.
In addition, plTenjin is full-featured and easy-to-use.
See user's guide and examples for dettails.

Release 0.0.2 (2008-02-26)
--------------------------

* [Changes]

* Add 'examples' directory.

* Changed to convert texts before expressions into spaces and
print them when command-line option '-S' specified.

ex. hoge.plhtml
<?pl for $item (@$list) { ?>
<p>[=$item=]</p>
<?pl } ?>

ex. result of '-S'
## 0.0.1
$ pltenjin -S hoge.plhtml
my @_buf = (); for $item (@$list) {
escape($item);
}
join('', @_buf);

## 0.0.2
$ pltenjin -S hoge.plhtml
my @_buf = (); for $item (@$list) {
escape($item);
}
join('', @_buf);

Posted by Kuwata Makoto 2008-02-27

Log in to post a comment.