Download List

项目描述

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation. The Smarty design was largely driven by these goals: clean separation of presentation from application code; a PHP backend and Smarty template frontend; compliment PHP, not replace it; fast development/deployment for programmers and designers; quick and easy to maintain; a syntax that is easy to understand, with no PHP knowledge required; flexibility for custom development; and security (insulation from PHP).

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2003-04-12 20:21
2.5.0

所有$ Smarty的瓦尔现在可以是动态的,如$ smarty.get。$ foo的。一个新的类函数get_function_object()可以让你对一个指定的对象的引用。追加()现在可以合并以及追加。一个新的类函数get_config_vars()的加入,get_template_vars()现在可以用来获取个人增值经销商。全部变量的语法是现在支持通过一个反引号(`)语法在双引号。由Smarty的创建的文件正在写入tmp文件,然后重新命名,以避免文件锁定保留。 html_radios,html_checkboxes,html_table,html_image和nl2br职能增加。
标签: Minor feature enhancements
All $smarty vars can now be dynamic, such as $smarty.get.$foo. A new class function get_function_object() gets you a reference to an assigned object. append() can now merge as well as append. A new class function get_config_vars() was added, and get_template_vars() can now be used to get individual vars. Full variable syntax is now supported within double quotes via a backtick (`) syntax. Files created by smarty are now written to a tmp file then renamed to avoid file lock retention. html_radios, html_checkboxes, html_table, html_image, and nl2br functions added.

2003-02-12 22:39
2.4.2

此版本支持的能力,访问对象内的模板。两种方法可供选择,一个一直在密切关注Smarty的各项公约,另一个是继用PHP熟悉的传统对象的语法。该正则表达式解析器被重写更严格,安全和维护。配置文件现在编制和分配变量不再提取到PHP的空间,挽救了提取每个模板()调用。还有许多其他小的改进。
标签: Major feature enhancements
This release supports the ability to access objects within the templates. Two methods are available, one which closely follows Smarty's conventions, and another that follows the more traditional object syntax for those familiar with PHP. The regex parser was rewritten to be more strict, secure, and maintainable. Config files are now compiled, and assigned variables are no longer extracted to PHP namespace, saving an extract() call for every template. There are many other minor enhancements.

2003-01-27 17:00
2.3.1

关于编译的文件修改时间,现在匹配源文件。在情况下的源文件可能无法获得当前时间戳,重新编译仍然正常工作。为的open_basedir适当的支持增加了,所以Smarty的应在安全模式下运行。一些新的功能,如增加了模块功能的TextFormat,加沙地带变量的修饰符,并html_options optgroup的支持。其他轻微错误修正了言。
标签: Minor feature enhancements
The mtime on compiled files will now match the source files. In the case where the source file may not get the current timestamp, recompiling will still work as expected. Proper support for open_basedir has been added, so Smarty should work correctly in safe mode. A few new features were added, such as the textformat block function, the strip variable modifier, and optgroup support for html_options. Other minor bugfixes were also made.

2002-08-08 23:51
2.3.0

此版本包括错误修正和一些新的功能,尤其是能否转让的模板引用变量,能够清除缓存/编译年龄的文件,并能应用默认的修饰符暗示到您的模板增值经销商。
标签: Minor feature enhancements
This release includes bugfixes and a few new functions, most notably
the ability to assign template variables by reference, the ability to
clear cache/compile files by age, and the ability to apply default
modifiers implicitly to your template vars.

2002-07-12 01:11
2.2.0

此版本支持多种插件目录,缓存和编译文件分组和许多优化,功能增强,和错误修正。
This release supports multiple plugin directories, cache and compile file grouping, and many optimizations, feature enhancements, and bugfixes.

Project Resources