A framework for WebProgramming.





1.1.2 (2005-05-26)


OSI approved licence - open source. (See http://teng.sourceforge.net/?page=download.)



Teng was tested on Linux x86, Linux amd64.
Python versions
2.1, 2.2, 2.3, 2.4


Teng is a general purpose templating engine (whence Teng). Teng is primary a C++ library with easy--to--use API but it is also available (at least) as Python module and PHP extension. Teng strictly separates application logic from presentation logic. Programmer writes code which fetches data (for example from database, application server etc.) and supplies them to the templating engine. Presentation coder (for example web designer) writes templates and doesn't bother about data origin. The only thing programmer and presentation coder must obey is that data structure must conform to the template. Probably the most important use of Teng is generating HTML pages for web presentations. It is also wery useful for generating mail messages (but not spams). Teng composes resulting text/page/file by combining input template with program supplied data together with (optional) configuration and localization (language) dictionary. Localization support of Teng allows you to just write single template set for any number of supported languages. Templates and dictionaries are cached by engine for further use.

teng (last edited 2008-11-15 14:00:12 by localhost)

Unable to edit the page? See the FrontPage for instructions.