您的位置主页 > PHP

25个顶级PHP模板引擎

为了找到一个好的模板引擎,我在互联网上进行搜索,目前已经整理出了以下名单:
<A href="http://smarty.php.net/"><FONT color=#ff7800>Smarty</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>Smarty的特点是将模板编译成PHP脚本,然后执行这些脚本。很快,非常灵活。
<A href="http://www.phpguru.org/static/template.html"><FONT color=#ff7800>Heyes Template Class</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个非常容易使用,但功能强大并且快速的模板引擎,它帮助你把页面布局和设计从代码中分离。
<A href="http://www.thewebmasters.net/php/FastTemplate.phtml"><FONT color=#ff7800>FastTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个简单的变量插值模板类,它分析你的模板,把变量的值从HTML代码中分离处理。
<A href="http://www.maiatech.com/shellpage.php"><FONT color=#ff7800>ShellPage</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个简单易用的类,可以让你的整个网站布局基于模板文件,修改模板就能改变整个站点。
<A href="http://www.script.gr/go/scripts/STP/"><FONT color=#ff7800>STP Simple Template Parser</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个简单、轻量级并且易于使用的模板分析类。它可以从多个模板中组装一个页面,把结果页面输出到浏览器或者文件系统。
<A href="http://www.net-track.ch/opensource/template/"><FONT color=#ff7800>OO Template Class</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个你可以用在自己程序中的面向兑现的模板类。
<A href="http://sourceforge.net/projects/simpletpl"><FONT color=#ff7800>SimpleTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个可以创建和结构化网站的模板引擎。它可以解析和编译模板。
<A href="http://www.massassi.com/bTemplate/"><FONT color=#ff7800>bTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>短小但是快速的模板类,允许你把PHP逻辑代码从HTML修饰代码中分离。
<A href="http://phpsavant.com/"><FONT color=#ff7800>Savant</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个强大且轻量级的PEAR兼容模板系统。它是非编译型的,使用PHP语言本身做为它的模板语言。
<A href="http://ets.sourceforge.net/"><FONT color=#ff7800>ETS - easy template system</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>可以使用完全相同数据重组模板的模板系统。
<A href="http://macdeviant.com/scripts/template/index.php"><FONT color=#ff7800>EasyTemplatePHP</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>适用于你的站点的一个简单但是强大的模板系统。
<A href="http://vlib.activefish.com/"><FONT color=#ff7800>vlibTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个快速、全能的模板系统,它包含一个缓存和调试类。
<A href="http://avantemplate.sourceforge.net/"><FONT color=#ff7800>AvanTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>多字节安全的模板引擎,占用很少系统资源。它支持变量替换,内容块可以设置显示或隐藏。
<A href="http://www.grafxsoftware.com/product.php?id=26"><FONT color=#ff7800>Grafx Software’s Fast Template</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个修改版本的Fast Template系统,它包括缓存功能,调试控制台以及沉默去除为赋值块。
<A href="http://templatepower.codocad.com/"><FONT color=#ff7800>TemplatePower</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个快速、简单、功能强大的模板类。主要功能有嵌套的动态块支持,块/文件包含支持以及显示/隐藏未赋值的变量。
<A href="http://www.virtualcreations.com.au/mark/tagtemplate.htm"><FONT color=#ff7800>TagTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>这个库的功能被设计来使用模板文件,同时允许你从HTML文件检索信息。
<A href="http://htmltmpl.sourceforge.net/"><FONT color=#ff7800>htmltmpl: templating engine</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个适用于Python和PHP的模板引擎。它面向希望在项目中分离代码和设计的web应用开发人员。
<A href="http://www.cmarshall.net/DreamweaverTemplate"><FONT color=#ff7800>PHP Class for Parsing Dreamweaver templates</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个分析Dreamweaver模板的简单类,被用于Gallery 2 和WordPress的自定义模块中。
<A href="http://www.source-code.biz/"><FONT color=#ff7800>MiniTemplator (Template Engine)</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>针对HTML文件的一个紧凑型模板引擎。对于模板变量和块定义它具有简单的语法。其中块可以嵌套。
<A href="http://www.analysisandsolutions.com/software/layout/layout.htm"><FONT color=#ff7800>Layout Solution</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>简化网站开发和维护。它拥有常用的变量和页面元素使你不需要重复做页面布局工作。
<A href="http://zoned.net:81/~xkahn/php/fasttemplate/"><FONT color=#ff7800>Cached Fast Template</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>它已经纳入 <A href="http://php.resourceindex.com/detail/00015.html"><FONT color=#ff7800>FastTemplate</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A> ,允许你缓存模板文件,甚至可以在分离的块内容上缓存不同的规格。
<A href="http://www.tinybutstrong.com/"><FONT color=#ff7800>TinyButStrong</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个支持MySQL, Odbc, Sql-Server和ADODB的模板引擎。它包含7个方法和两个属性。
<A href="http://www.sitepoint.com/article/beyond-template-engine"><FONT color=#ff7800>Brian Lozier’s php based template engine</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>只有2K大小,非常快并且是面向对象设计。
<A href="http://www.phpwact.org/"><FONT color=#ff7800>WACT</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个从设计中分离代码的模板引擎。
<A href="http://phptal.motion-twin.com/"><FONT color=#ff7800>PHPTAL</FONT><IMG class=snap_preview_icon id=snap_com_shot_link_icon style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; BACKGROUND-POSITION: -630px 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; LEFT: auto; FLOAT: none; BACKGROUND-IMAGE: url(http://i.ixnp.com/images/v2.24/theme/green/palette.gif); VISIBILITY: visible; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 14px; LINE-HEIGHT: normal; PADDING-TOP: 1px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: 'trebuchet ms', arial, helvetica, sans-serif; POSITION: static; TOP: auto; HEIGHT: 12px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; cssFloat: none" src="http://i.ixnp.com/images/v2.24/t.gif"></A>一个PHP下面的XML/XHTML模板库。