Smaty的特点
来源:互联网 发布:nuitka windows 编辑:程序博客网 时间:2024/04/28 18:18
Some of Smarty’s features: It is extremely fast. It is efficient since the PHP parser does the dirty work. No template parsing overhead, only compiles once. It is smart about recompiling only the template files that have changed. 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. 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. Unlimited nesting of sections, ifs, etc. allowed. 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. Built-in caching support Arbitrary template sources Custom cache handling functions Plugin architecture 翻译: Smaty的一些特点: 非常非常的快! 用php分析器干这个苦差事是有效的 不需要多余的模板语法解析,仅仅是编译一次 仅对修改过的模板文件进行重新编译 可以编辑’自定义函数’和自定义’变量’,因此这种模板语言完全可以扩展 可以自行设置模板定界符,所以你可以使用{}, {{}}, <!–{}—>, 等等 诸如 if/elseif/else/endif 语句可以被传递到php语法解析器,所以 {if …} 表达式是简单的或者是复合的,随你喜欢啦 如果允许的话,section之间可以无限嵌套 引擎是可以定制的.可以内嵌php代码到你的模板文件中,虽然这可能并不需要(不推荐) 内建缓存支持 独立模板文件 可自定义缓存处理函数 插件体系结构
- Smaty的特点
- Smaty的一些特点
- Smaty 的安装
- 转 Smaty是什么
- php模板引擎smaty之介绍
- set集合特点级子类的特点
- JAVA的特点
- J2EE平台的特点
- 我国软件产业的特点
- ASP语言的特点
- 女人的特点
- JUnit的特点
- FreeBSD的功能特点
- log4j的一些特点
- Web Service 的特点
- XML的特点
- 咨询行业的特点
- 新帝国主义的特点
- 使用 Mutex 创建 单例应用程序
- NASA放弃Eucalyptus 转向Nebula云平台
- delphi6
- 项目成功要素
- nohup命令实现退出终端后程序继续后台运行
- Smaty的特点
- js+xml实现二级菜单
- ASP.NET数据库连接字符串的加密与解密
- 软件
- html:file 中把浏览按钮变成英文
- cout,cin和printf()及scanf()的比较。-------------Mobile phones---------树状数组
- HTML 基础教程(一)
- 戏说中国电子商务---还有2012吗?
- firewall