*** empty log message ***

This commit is contained in:
andrey
2002-02-19 20:53:59 +00:00
parent ccdaf93814
commit 0adc38dcff

34
README
View File

@@ -34,34 +34,34 @@ DESCRIPTION:
What is Smarty? What is Smarty?
Smarty is a template engine for PHP. Many other template engines for PHP Smarty is a template engine for PHP. Many other template engines for PHP
provide basic variable substitution and dynamic block functionality. Smarty provide basic variable substitution and dynamic block functionality.
takes a step further to be a "smart" template engine, adding features such Smarty takes a step further to be a "smart" template engine, adding
as configuration files, template functions, and variable modifiers, and features such as configuration files, template functions, and variable
making all of this functionality as easy as possible to use for both modifiers, and making all of this functionality as easy as possible to
programmers and template designers. Smarty also converts the templates into use for both programmers and template designers. Smarty also converts
PHP scripts, eliminating the need to parse the templates on every the templates into PHP scripts, eliminating the need to parse the
invocation. This makes Smarty extremely scalable and managable for large templates on every invocation. This makes Smarty extremely scalable and
application needs. managable for large application needs.
Some of Smarty's features: Some of Smarty's features:
* it is extremely fast * it is extremely fast
* it is relatively simple since the PHP parser does the dirty work.
* no template parsing overhead, only compiles once. * no template parsing overhead, only compiles once.
* it is smart about recompiling only the template * it is smart about recompiling only the template files that have
files that have changed. changed.
* you can make custom functions and custom variable modifiers, so * the template language is remarkably extensible via the plugin
the template language is extremely extensible. architecture.
* configurable template delimiter tag syntax, so you can use * configurable template delimiter tag syntax, so you can use
{}, {{}}, <!--{}-->, or whatever you like. {}, {{}}, <!--{}-->, 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, * 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. so the if syntax can be as simple or as complex as you like.
* unlimited nesting of sections, ifs, etc. allowed * unlimited nesting of sections, conditionals, etc. allowed
* it is possible to imbed PHP code right in your template files, * it is possible to embed PHP code right in your template files,
although not recommended and doubtfully needed since the engine although not recommended and doubtfully needed since the engine
is so customizable. is so customizable.
* built in caching * and many more.
* arbitrary template sources (flat files, databases, etc.)
COPYRIGHT: COPYRIGHT:
Copyright (c) 2001,2002 ispi of Lincoln, Inc. All rights reserved. Copyright (c) 2001,2002 ispi of Lincoln, Inc. All rights reserved.