source: branches/2.0/include/smarty/README @ 3001

Last change on this file since 3001 was 3001, checked in by patdenice, 15 years ago

merge -c3000 from trunk to branch 2.0.
Upgrade Smarty to 2.6.22

File size: 3.3 KB
Line 
1
2NAME:
3
4    Smarty - the PHP compiling template engine
5
6VERSION: 2.6.22
7
8AUTHORS:
9   
10    Monte Ohrt <monte at ohrt dot com>
11    Andrei Zmievski <andrei@php.net>
12
13MAILING LISTS:
14
15    We have a few mailing lists. "discussion" for you to share your ideas or ask
16        questions, "developers" for those interested in the development efforts of Smarty,
17        and "svn" for those that would like to track the updates made in the svn
18        repository.
19
20    send a blank e-mail message to:
21      smarty-discussion-subscribe@googlecode.com(subscribe to the general discussion list)
22      smarty-discussion-unsubscribe@googlecode.com (unsubscribe from the general discussion list)
23      smarty-discussion-digest-subscribe@googlecode.com (subscribe to digest)
24      smarty-discussion-digest-unsubscribe@googlecode.com (unsubscribe from digest)
25      smarty-developers-subscribe@googlecode.com (subscribe to the dev list)
26      smarty-developers-unsubscribe@googlecode.com (unsubscribe from the dev list)
27      smarty-svn-subscribe@googlecode.com (subscribe to the svn list)
28      smarty-svn-unsubscribe@googlecode.com (unsubscribe from the svn list)
29
30    You can also browse the mailing list archives at
31    http://groups.google.com/group/smarty-discussion
32    http://groups.google.com/group/smarty-developers
33
34    and the OLD list archives at
35    http://marc.theaimsgroup.com/?l=smarty&r=1&w=2
36
37SYNOPSIS:
38
39    require("Smarty.class.php");
40
41    $smarty = new Smarty;
42
43    $smarty->assign("Title","My Homepage");
44    $smarty->assign("Names",array("John","Gary","Gregg","James"));
45
46    $smarty->display("index.tpl");
47
48
49DESCRIPTION:
50
51    What is Smarty?
52
53    Smarty is a template engine for PHP. Many other template engines for PHP
54    provide basic variable substitution and dynamic block functionality.
55    Smarty takes a step further to be a "smart" template engine, adding
56    features such as configuration files, template functions, and variable
57    modifiers, and making all of this functionality as easy as possible to
58    use for both programmers and template designers. Smarty also converts
59    the templates into PHP scripts, eliminating the need to parse the
60    templates on every invocation. This makes Smarty extremely scalable and
61    manageable for large application needs.
62
63    Some of Smarty's features:
64
65    * it is extremely fast
66    * no template parsing overhead, only compiles once.
67        * it is smart about recompiling only the template files that have
68          changed.
69    * the template language is remarkably extensible via the plugin
70      architecture.
71    * configurable template delimiter tag syntax, so you can use
72      {}, {{}}, <!--{}-->, or whatever you like.
73    * built-in caching of template output.
74    * arbitrary template sources (filesystem, databases, etc.)
75    * template if/elseif/else/endif constructs are passed to the PHP parser,
76      so the if syntax can be as simple or as complex as you like.
77    * unlimited nesting of sections, conditionals, etc. allowed
78    * it is possible to embed PHP code right in your template files,
79      although not recommended and doubtfully needed since the engine
80      is so customizable.
81    * and many more.
82
83COPYRIGHT:
84    Copyright (c) 2001-2005 New Digital Group, Inc. All rights reserved.
85    This software is released under the GNU Lesser General Public License.
86    Please read the disclaimer at the top of the Smarty.class.php file.
Note: See TracBrowser for help on using the repository browser.