phpTenjin 0.0.2 and rbTenjin 0.6.2 released - the fastest template engine in the world

I have released phpTenjin 0.0.2 and rbTenjin 0.6.2.
http://www.kuwata-lab.com/tenjin/
Tenjin is the fastest template engine in the world. It is not only very fast but also full-featured and easy-to-use.

Changes of phpTenjin from 0.0.1:

  • When ‘-S’, ‘-a retrieve’, ‘-X’, or ‘-a statements’ specified, phptenjin command replaces text before expressions into spaces and print it.

Changes of rbTenjin from 0.6.1:

  • Rubinius supported.

  • Changed to convert texts before expressions into spaces and print them when command-line option ‘-S’ specified.

ex. hoge.rbhtml

<?rb for item in @list ?>
  <p>${item}</p>
<?rb end ?>

ex. result of ‘-S’

## 0.6.1
$ rbtenjin -S hoge.rbhtml
_buf = ''; for item in @list
escape((item).to_s); 
end
_buf.to_s

## 0.6.2
$ rbtenjin -S hoge.rbhtml
_buf = ''; for item in @list
     escape((item).to_s); 
end
_buf.to_s

Leave a reply