Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Development Tools

    Teng 1.0.4

    download button


    Downloads: 429  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.7/5)
    17 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Stepan Skrob | More scripts
    teng.sourceforge.net
    LGPL - GNU Lesser General Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Python
    June 21st, 2007, 08:39 GMT
    C: \ Development Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    Teng description

    Teng is generating HTML pages for web presentations.

    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.

    Every template before page generation is compiled into so-called byte-code. Byte-code is sequence of instructions to Teng's engine--processor. During page generation, the engine executes instructions from byte-code and writes result to the output.

    Every parsed dictionary and every compiled template is cached by the engine for further use. If the engine finds entry in cache for given combination it then check every source file of template, language dictionary, configuration for change.

    When no change is found, the cached compiled template and dictionaries are used. Invalidated (sources have been changed or) entries are read and parsed before execution.

    More precisely, there are two caches. One maps main dictionary filename to parsed dictionary (either language or configuration) and the other maps template key to compiled program.

    Template key is triplet (template, language dictionary, configuration); template is either template filename or MD5 computed from template itself (if source is from string).



    TAGS:

    web presentations | html generator | templates system | web | presentations | templates

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM