| [ Web Proxy ] |
| Viewing: https://wiki.python.org/moin/../python/platforms/../../python/../python/gui/../archive/teng.html | [Back] [Original] |
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
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.
2.1, 2.2, 2.3, 2.4
Teng is a general purpose templating engine (whence Teng). Teng is primary a C++ library with easytouse 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 doesnt 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.
Back to top2026, Python Software Foundation
Made with Sphinx and Shibuya theme.
| Web Proxy Viewer | New URL | Original Page |