Oct 29

ETS - easy template system PHP模板引擎 不指定

shuguang , 16:43 , 模板引擎 , 评论(0) , 引用(0) , 阅读(10979) , Via 本站原创 | |
程序名称:ETS - easy template system
开发者/组织名称:ETS - easy template system
运行环境:php
官方网站:http://ets.sourceforge.net/
下载地址:http://sourceforge.net/project/showfiles.php?group_id=52577
文章来源:http://www.osphp.com.cn
程序介绍:
可以使用完全相同数据重组模板的模板系统。
请下载附件中的源码,不要直接复制 (已下载 1194 次)
//OsPHP.COM.CN
ETS is a template system written with PHP that enables you to transform a set of data to any type of document.
For example, ETS can transform a list of product descriptions retrieved from a database to a HTML page. It can also construct SQL statements, ASCII data, XML documents...
ETS provides 4 functions to match a set of data with templates:
• sprintt which returns the built template as a string,
• printt which prints it out.
• sprintts and printts which use a string instead of a file name.
ETS supplies:
• array management,
• various conditional elements,
• access to any level in the data tree from any level in the template,
• data formatting,
• size reducing,
• integrated debug messages.
ETS works with 2 elements: the data tree and templates. The data tree contains every data that will be available. Templates define the way the data tree will be presented. You can compare it to a XML document transformed with a XSLT template: it抯 exactly the same concept. //OsPHP.COM.CN
ETS can manage recursive templates, allows a complete reshuffle of the template with exactly the same data tree, is extremely valuable when working with database because of the implicit use of templates...
收藏本文到网摘: 添加到“Google书签” 添加到“Yahoo收藏” 添加到“QQ书签” 搜狐网摘 添加到“百度搜藏” 添加到“新浪ViVi收藏夹” 添加到“Del.icio.us” 添加到“365天天网摘” 添加到“天极网摘” 我摘·网摘·网络书签 添加到“POCO网摘” YouNote网摘 添加到“和讯网摘” 添加到“Bolaa博客收录中心” 添加到“igooi网摘” 添加到“天下图摘”
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容
  • 中查看更多“ETS - easy template system PHP模板引擎”相关内容

  • 最后编辑: shuguang 编辑于2007/12/05 14:36
    发表评论

    昵称

    网址

    电邮

    打开HTML 打开UBB 打开表情 隐藏 记住我 [登录系统] [注册]