Template Interface Engine

Template Interface Engine joins back-end code (as business logic layer) and HTML code (known as presentation layer) which are written in separate files. This class implements a template engine that uses regular expressions to locate placeholder marks. It supports template loops and uses event driven callback functions to set variables inside the loop sections. Outside loop sections, the variable values can set directly. The tags used by this engine are enclosed by comment HTML tags, so the templates can be edited later by any WYSIWYG HTML editor.

Tags Software Development Libraries php classes Internet Web Dynamic Content
Licenses LGPL
Operating Systems OS Independent
Implementation PHP

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  28 Mar 2006 08:53
  • Rrelease-after

Changes: A configuration file was added. An INCLUDE tag feature was added. "Logic expression" evaluation was fixed and enhanced so that the loop name can be used in the expression as a variable instead of another expression that represents the count of the table data loop. While it is impossible to use all internal PHP functions by default, you can now use a declaration in the configuration file to permit this. The "RegisterFunction" function was added, which is used to register a custom function used by the class.

  • Rrelease-mid
  •  06 Mar 2006 00:55
  • Rrelease-after

Changes: IF-ELSEIF-ELSE blocks and LOOP blocks are now supported. Multi-template files can be handled as header, body, and footer. The output can be sent to stdout, to a file, or as string (by using _PIPE mode). The section works recursively. A class for PHP4 users was added. See sample3.php and sample4.php for a review of how to use it. The sample for PHP4 compatibility version is also available.

  • Rrelease-mid
  •  06 Jul 2005 03:57
  • Rrelease-after

Changes: The "sample2.php" sample file was added to serve as an example document. It is used to add or edit an item from the browse page.

Changes: This is a pre-release version. It supports looping logic such as for table appearance.

5ce91300369404ce3a4befb9acb03d4d_thumb

Project Spotlight

CLIChart

Command line tools to summarize and chart data from system logs.

4b931df89e2fe2967680a01c9897a60e_thumb

Project Spotlight

JCards

An easy to use database.