php开源嘛
首页 | English | MySql数据库 | Php编程 | 建站杂烩 | 系统服务器 | 资源共享 | 专题 | 才桀网 | 支持论坛
  当前位置:主页>English>文章内容
什么是Smaty?一个php模板引擎.
来源:网络 作者:本站整理 发布时间:2007-08-19  

  • It is extremely fast.
    它非常非常的快!(XX卖瓜啦~)

  • It is efficient since the PHP parser does the dirty work.
    从php分析器开始干这个苦差事以来都是有效的(????)

  • No template parsing overhead, only compiles once.
    不需要多余的模板语法解析,仅仅是编译一次

  • It is smart about recompiling only the template files that have changed.
    当模板文件改变的时候重新编译的样子很酷~(我倒,所以叫做'Smarty'阿~~)

  • You can make custom functions and custom variable modifiers so the template language is extremely extensible.
    你可以编辑'自定义函数'和自定义'变量',所以这种模板语言完全可以扩展

  • Configurable template delimiter tag syntax, so you can use {}, {{}}, <!--{}-->, etc.
    可以自行设置模板定界符,所以你可以使用{}, {{}}, <!--{}-->, 等等.(多余?)phpma.com

  • The if/elseif/else/endif constructs are passed to the PHP parser, so the {if ...} expression syntax can be as simple or as complex as you like.
    诸如 if/elseif/else/endif 语句可以被传递到php语法解析器,所以 {if ...} 表达式是简单的或者是复合的,随你喜欢啦

  • Unlimited nesting of sections, ifs, etc. allowed.
    如果允许的话,section之间可以无限嵌套

  • It is possible to embed PHP code right in your template files, although this may not be needed (nor recommended) since the engine is so customizable.
    引擎是可以定制的.可以内嵌php代码到你的模板文件中,虽然这可能并不需要(不推荐)

  • Built-in caching support
    内建缓存支持

  • Arbitrary template sourcesphpma.com
    独立模板文件

  • Custom cache handling functions
    可自定义缓存处理函数

  • Plugin architecture
    插件体系结构 phpma.com


(阅读次数:
共2页: 上一页 [1] 2 下一页
上一篇:您是否患有电脑依赖症?   下一篇:PHP动态网页编程常用技巧N则
[收藏] [推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
用户名: 新注册) 密码: 匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论
  热点文章
·Mysql中innodb 和myisam的区别?
·what is apache? 服务器
·What is PHP?
·Apache是一款流行的伺服器
·what is openssh?而ssh又是什么?
·What is MySQL? MySQL数据库
·what is Linux? 操作系统
·php|works, Session Day 1
·Late static binding....sorta .
·What is EditPlus?How to Instal
·php表达式之explode() 分割字符
·Ajax技术(五)用AjaxTags简化Ajax
  相关文章
·php|works, Session Day 1
·Late static binding....sorta .
·What is EditPlus?How to Instal
·Mysql中innodb 和myisam的区别?
·what is openssh?而ssh又是什么?
·Apache是一款流行的伺服器
·php表达式之explode() 分割字符
·what is apache? 服务器
·what is Linux? 操作系统
·What is MySQL? MySQL数据库
·What is PHP?
·Ajax技术(一)用AjaxTags简化Ajax

关于我们 | 本站声明 | 友情连接 | 诚邀加盟 | 网站地图
版权Power by DedeCms   技术支持QQ =>> 罗江游鱼   Jacking  后台登陆
Copyright @ 2007 公司地址:柳州市东环路268号 邮编:545006 电话:15920389818 桂ICP备07006725号