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 Requirements

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

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.
標籤: Minor feature enhancements

2003-02-12 22:39
2.4.2

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.
標籤: Major feature enhancements

2003-01-27 17:00
2.3.1

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.
標籤: Minor feature enhancements

2002-08-08 23:51
2.3.0

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.
標籤: Minor feature enhancements

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