Sha256: 1ceaf9d402bf755b82d0adf1557cafc781d2973c7a390fca352c8cb3f601959a

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

= README

release::	0.6.0
copyright::	copyright(c) 2007 kuwata-lab all rights reserved.


== About

rbTenjin is a very fast and full-featured template engine based on embedded Ruby.
You can embed Ruby statements and expressions into your text file.
rbTenjin converts it into Ruby program and evaluate it.


== Features

* Very fast (twice faster than eruby and three times faster than ERB)
* Lightweight (only one file which contains about 1000 lines)
* Not break HTML design because it uses XML Processing
  Instructions (PI) as embedded notation for Python statements.
* Secure because it supports escaping expression value by default.
* Auto caching of converted Python code.
* Nestable layout template
* Inlucde other templates
* Capture part of template
* Load YAML file as context data
* Preprocessing support

See doc/*.html for details.


== Installation

* If you have installed RubyGems, just type <tt>gem install tenjin</tt>.

    $ sudo gem install tenjin

* Else download rbtenjin-X.X.X.tar.bz2 and just copy 'lib/tenjin.rb' and
  'bin/rbtenjin' into proper directory.

    $ tar xjf rbtenjin-X.X.X.tar.bz2
    $ cd rbtenjin-X.X.X/
    $ sudo copy lib/tenjin.rb /usr/local/lib/ruby/1.8/site_ruby/1.8/
    $ sudo copy bin/rbtenjin /usr/local/bin/


== Attention

rbTenjin is beta released. It means that API or specification may change
in the future.


== License

MIT License

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tenjin-0.6.0 README.txt