CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
英特尔®游戏设计大赛100美元现金周周送 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  PHP

推荐一个Template: patTemplate

楼主Aryang(编程砖家)2003-06-01 17:51:39 在 Web 开发 / PHP 提问

patTemplate   is   a   very   powerful   template   engine   that   helps   you   separating   program   logic   or   content   from   layout.    
   
  patTemplate   was   designed   for   web   applications   and   easily   works   in   combination   with   databases   and   other   data   sources.   Based   on   XML-Like   tags,   patTemplate   offers   a   bunch   of   useful   functions   that   originated   out   of   a   webdeveloper's   daily   needs.   From   adding   database   query   results   directly   to   a   template   with   only   two   lines   of   code   or   conditional   templates,   you'll   certainly   find   what   you   need...    
   
  Developer(s)   :   Stephan   Schmidt    
  Current   Version   :   v2.4    
  License   :   LGPL    
   
  Currently   the   following   features   are   implemented:    
   
  use   special   xml   tags,   to   separate   a   document   into   templates    
  use   an   infinite   amount   of   templates   in   one   page    
  read   from   several   plain   html   files    
  local   and/or   global   variables    
  automatic   repetition   of   templates   to   build   lists    
  automatically   create   alternating   lists   by   using   OddEven   templates    
  automatically   enumerate   entries   in   lists    
  templates   can   have   child   templates    
  subtemplates   to   do   simple   if();   elseif();   else();   statements    
  strip   or   replace   unused   variables   from   html    
  hide/show   templates   in   a   document    
  read   external   files   with/without   parsing   them    
  strip   leading/trailing   whitespace   in   lines   for   smaller   html   code    
  use   a   template   several   times   in   a   document   by   linking   to   it    
  quote   template   tags   to   use   them   in   a   second   parsing   process   (enables   you   to   build   templates   from   templates)    
  output   any   ASCII   format   you   like   (HTML,   txt,   XML,   LaTex,...)    
   
  主页:   http://www.php-tools.de/site.php?&file=patTemplateOverview.xml    
  教程:   http://www.devshed.com/Server_Side/PHP/patTemplate/patTemplate1/page1.html    
   
  问题点数:0、回复次数:1Top

1 楼allkill(傲气游)回复于 2003-06-01 22:38:17 得分 0

看了看代码。感觉太胖了。担忧速度啊!光个模板类文件就一千多行代码。Top

相关问题

  • template
  • about template
  • template question!!
  • template与workspace
  • template function问题
  • template partial specialization
  • 奇怪的template!
  • non_template collection classes?
  • template的问题?
  • JSP Template请教

关键词

  • php
  • document
  • html
  • xml
  • pattemplate
  • templates
  • automatically
  • tags
  • lists

得分解答快速导航

  • 帖主:Aryang

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo