Archive for October, 2007

pyTenjin 0.6.1 released

October 23rd, 2007

pyTenjin 0.6.1 has been released.

http://www.kuwata-lab.com/tenjin/

pyTenjin is a fast and full-featured template engine based on embedded Python. You can embed any Python statements and expressions in your text file. pyTenjin converts it to Python program and evaluate it with context data.

[Enhancements]

Benchmark script (benchmark/bench.py) is rewrited. Benchmark supports Genshi, Mako, and Templetor. Add examples.

[Bugfix]

Typo in User’s Guide is fixed.

ActionView is Not Beautiful

October 19th, 2007

From Making Rails Better - ActionView Needs a Makeover:

the internals of ActionView are ugly.

I think so very strongly. View-layer of Ruby on Rails depends on ERB tightly. Rails provides API for other template engine, but it is too poor to make other template engine to be the same position in Rails as ERB.

30 Lines Implementation of eRuby

October 9th, 2007

eRuby is a specification to embed Ruby code (expression or statement) in any text file. There are thee implementation of eRuby:

ERB (pure Ruby, most popular and included in Ruby 1.8) eruby (implemented as C extention) Erubis (pure Ruby, very fast and extensible)

Using pattern matching, it is easy to implement eRuby. The following is a complete eRuby implementation (named TinyEruby) [...]

Erubis 2.4.1 released

October 8th, 2007

I have released Erubis 2.4.1 at 2007-09-25. This is a bug-fix release.

You can see details about fixed bugs and changes in CHANGES file.