幻想指点江山,梦中激扬文字(飞天小肥猪的简单人生 Register | Login

smarty3即将出来

获取 @neatdns.com 的免费邮箱

PHP的模版里,smarty一直就是让人又爱又恨的,功能太强大了,以致于美工们看到他也会感觉头疼,毕竟是又要学一门新的语言了。
这么多年,smarty都是在2.x版本里面徘徊,如今,终于要出3了。
以下是官方的change log:

10/6/2008

- completed compilation of {include} tag, variable scoping same as in smarty2

- added compilation of {capture} tag.

- added error message on none existing template files.

10/4/2008
- added comments in the parser definition y file.

- added array of $smarty_token_names to lexer for use in trigger_template_error function

- change handling of none smarty2 style tags like {if}, {for}....

- lexer/parser optimization

10/3/2008

- create different compiled template files depending if caching and/or security is enabled

- cleaned up compiler

- lexer/parser optimization

10/2/2008

- new method trigger fatal error, displays massage and terminates smarty

- compile error status flag added
The compiler will in case of error continue to parse the template(s) to display all errors. No compiled
templates will be written, Smarty terminates after the compiler exits.

- added error message to function __call in Smarty.class.php


本站采用创作共享版权协议, 要求署名、非商业和保持一致. 本站欢迎任何非商业应用的转载, 但须注明出自" 膘叔  簡單人生", 保留原始链接, 此外还必须标注原文标题和链接.

Tags: smarty, version, php, template, smarttemplate

« 上一篇 | 下一篇 »

只显示10条记录相关文章

快速生成目录树 (浏览: 4401, 评论: 3)
PHP sendmail (浏览: 3922, 评论: 6)
PHP中Eval的作用 (浏览: 3793, 评论: 3)
PHP中的Cache (浏览: 3778, 评论: 6)
PHP常见错误(二) (浏览: 3270, 评论: 1)
利用array_diff函数更新tag (浏览: 3263, 评论: 0)
ThinkPHP怎么样更好的使用Smarty第三方插件 (浏览: 2733, 评论: 2)
PHP连贯接口 (浏览: 2655, 评论: 2)
JpGraph中文乱码完美解决方案[转] (浏览: 2457, 评论: 0)
解决使用ThinkPHP框架自带模版程序处理<??>出现的问题 (浏览: 2282, 评论: 0)
smarty3即将出来 - Smarty,smarty,version,php,template,smarttemplate,gouki,简单人生|PHP开发|架构研究 PHP的模版里,sm

发表评论

评论内容 (必填):