Download List

项目描述

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.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2006-03-28 17:53
1.0+

配置文件已添加。一个include标记功能已添加。 “逻辑表达式”的评价是固定和增强,使循环的名称可以作为另一种表现,而不是代表表的数据循环计数变量的表达式中使用。虽然无法使用所有PHP默认的内部功能,你现在可以使用在配置文件中声明,允许这一点。在“RegisterFunction”功能增加了,这是用来注册一个自定义函数的类。
标签: Major feature enhancements
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.

2006-03-06 09:55
0.8+

中频ELSEIF - ELSE块和LOOP块现在支持。多模板文件可以被处理为标题,正文和页脚。输出可以被发送到stdout,到一个文件,或字符串(使用_PIPE模式)。递归的部分工程。一个PHP4的用户增加了类。请参阅如何使用它审查sample3.php和sample4.php。对于PHP4的兼容版本还提供样品。
标签: Major feature enhancements
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.

2005-07-06 12:57
2005-07-06

在“sample2.php”示例文件添加到作为一个例子文件。它是用来添加或编辑从浏览网页的一个项目。
标签: Documentation
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.

2005-06-28 08:50
2005-06-27

这是一个预发布版本。它支持循环,如表的外观逻辑。
标签: Initial freshmeat announcement
This is a pre-release version. It supports looping
logic such as for table appearance.

Project Resources