Smarty26
所属分类:网络编程
开发工具:PHP
文件大小:183KB
下载次数:17
上传日期:2006-07-21 09:21:16
上 传 者:
colin2008
说明: php 模板 技术实现, 采用 smarty 官方技术实现 php web 模板开发, 几秒钟实现全站更新
(php template technology, using technology smarty official php web template development, a few seconds to realize the station update)
文件列表:
Smarty26\COPYING.lib (24389, 2001-02-08)
Smarty26\BUGS (370, 2003-02-22)
Smarty26\ChangeLog (208752, 2006-05-26)
Smarty26\FAQ (12740, 2003-04-12)
Smarty26\INSTALL (1408, 2003-08-25)
Smarty26\NEWS (45046, 2006-05-25)
Smarty26\QUICK_START (3052, 2005-02-24)
Smarty26\RELEASE_NOTES (18942, 2005-02-03)
Smarty26\TODO (421, 2003-12-11)
Smarty26\unit_test\config.php (45, 2004-01-17)
Smarty26\unit_test\smarty_unit_test_gui.php (175, 2004-01-17)
Smarty26\unit_test\smarty_unit_test.php (177, 2004-01-17)
Smarty26\unit_test\test_cases.php (16615, 2004-09-21)
Smarty26\unit_test\templates\parse_obj_meth.tpl (223, 2004-09-15)
Smarty26\unit_test\templates\assign_var.tpl (7, 2004-01-18)
Smarty26\unit_test\templates\constant.tpl (30, 2004-09-11)
Smarty26\unit_test\templates\index.tpl (12, 2004-01-18)
Smarty26\unit_test\templates\parse_math.tpl (333, 2004-09-15)
Smarty26\unit_test\templates (0, 2006-07-12)
Smarty26\unit_test\configs\globals_double_quotes.conf (12, 2004-01-24)
Smarty26\unit_test\configs\globals_single_quotes.conf (12, 2004-01-24)
Smarty26\unit_test\configs (0, 2006-07-12)
Smarty26\unit_test (0, 2006-07-12)
Smarty26\misc\smarty_icon.gif (1102, 2003-04-15)
Smarty26\misc (0, 2006-07-12)
Smarty26\libs\Smarty_Compiler.class.php (91542, 2006-05-29)
Smarty26\libs\Config_File.class.php (12747, 2006-05-29)
Smarty26\libs\Smarty.class.php (63248, 2006-05-29)
Smarty26\libs\debug.tpl (5066, 2004-09-21)
Smarty26\libs\plugins\function.config_load.php (6158, 2005-11-26)
Smarty26\libs\plugins\block.textformat.php (2843, 2005-10-12)
Smarty26\libs\plugins\compiler.assign.php (1123, 2005-11-26)
Smarty26\libs\plugins\function.assign_debug_info.php (1162, 2005-10-12)
Smarty26\libs\plugins\function.counter.php (1772, 2005-10-12)
Smarty26\libs\plugins\function.cycle.php (3192, 2005-01-22)
Smarty26\libs\plugins\function.debug.php (835, 2005-01-22)
Smarty26\libs\plugins\function.eval.php (1014, 2005-10-12)
... ...
NAME:
Smarty - the PHP compiling template engine
VERSION: 2.6.0
AUTHORS:
Monte Ohrt
Andrei Zmievski
MAILING LISTS:
We have a few mailing lists. "general" for you to share your ideas or ask
questions, "dev" for those interested in the development efforts of Smarty,
and "cvs" for those that would like to track the updates made in the cvs
repository.
send a blank e-mail message to:
smarty-general-subscribe@lists.php.net (subscribe to the general list)
smarty-general-unsubscribe@lists.php.net (unsubscribe from the general list)
smarty-general-digest-subscribe@lists.php.net (subscribe to digest)
smarty-general-digest-unsubscribe@lists.php.net (unsubscribe from digest)
smarty-dev-subscribe@lists.php.net (subscribe to the dev list)
smarty-dev-unsubscribe@lists.php.net (unsubscribe from the dev list)
smarty-cvs-subscribe@lists.php.net (subscribe to the cvs list)
smarty-cvs-unsubscribe@lists.php.net (unsubscribe from the cvs list)
You can also browse the mailing list archives at
http://marc.theaimsgroup.com/?l=smarty&r=1&w=2
SYNOPSIS:
require("Smarty.class.php");
$smarty = new Smarty;
$smarty->assign("Title","My Homepage");
$smarty->assign("Names",array("John","Gary","Gregg","James"));
$smarty->display("index.tpl");
DESCRIPTION:
What is Smarty?
Smarty is a template engine for PHP. Many other template engines for PHP
provide basic variable substitution and dynamic block functionality.
Smarty takes a step further to be a "smart" template engine, adding
features such as configuration files, template functions, and variable
modifiers, and making all of this functionality as easy as possible to
use for both programmers and template designers. Smarty also converts
the templates into PHP scripts, eliminating the need to parse the
templates on every invocation. This makes Smarty extremely scalable and
manageable for large application needs.
Some of Smarty's features:
* it is extremely fast
* no template parsing overhead, only compiles once.
* it is smart about recompiling only the template files that have
changed.
* the template language is remarkably extensible via the plugin
architecture.
* configurable template delimiter tag syntax, so you can use
{}, {{}}, , or whatever you like.
* built-in caching of template output.
* arbitrary template sources (filesystem, databases, etc.)
* template if/elseif/else/endif constructs are passed to the PHP parser,
so the if syntax can be as simple or as complex as you like.
* unlimited nesting of sections, conditionals, etc. allowed
* it is possible to embed PHP code right in your template files,
although not recommended and doubtfully needed since the engine
is so customizable.
* and many more.
COPYRIGHT:
Copyright (c) 2001-2005 New Digital Group, Inc. All rights reserved.
This software is released under the GNU Lesser General Public License.
Please read the disclaimer at the top of the Smarty.class.php file.
近期下载者:
相关文件:
收藏者: