summaryrefslogtreecommitdiff
path: root/libraries/Smarty/README
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2011-07-28 10:55:44 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-28 10:55:44 -0300
commitaafa0914ac074a8d4e9e25f3059b0e9d521c82ac (patch)
treef0f674480a9793ce0353121b7171e37f9fa63b18 /libraries/Smarty/README
parent3dfc7de500436317b8eb9f2788a86ed4fec22476 (diff)
downloadslackbuilds-aafa0914ac074a8d4e9e25f3059b0e9d521c82ac.tar.gz
libraries/Smarty: (PHP template engine)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/Smarty/README')
-rw-r--r--libraries/Smarty/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/Smarty/README b/libraries/Smarty/README
new file mode 100644
index 0000000000..e7ebe18388
--- /dev/null
+++ b/libraries/Smarty/README
@@ -0,0 +1,31 @@
+Smarty is a template engine for PHP. More specifically, it facilitates a
+manageable way to separate application logic and content from its
+presentation. This is best described in a situation where the application
+programmer and the template designer play different roles, or in most cases
+are not the same person.
+
+Some of Smarty's features:
+* It is extremely fast.
+* It is efficient since the PHP parser does the dirty work.
+* No template parsing overhead, only compiles once.
+* It is smart about recompiling only the template files that have changed.
+* You can easily create your own custom functions and variable modifiers,
+ so the template language is extremely extensible.
+* Configurable template {delimiter} tag syntax, so you can use
+ {$foo}, {{$foo}}, <!--{$foo}-->, etc.
+* The {if}..{elseif}..{else}..{/if} constructs are passed to the PHP
+ parser, so the {if...} expression syntax can be as simple or as complex
+ an evaluation as you like.
+* Allows unlimited nesting of sections, if's etc.
+* Built-in caching support
+* Arbitrary template sources
+* Custom cache handling functions
+* Template Inheritance for easy management of template content.
+* Plugin architecture
+
+See the Documentation at http://www.smarty.net/documentation for
+instructions on how to configure PHP & Smarty to work together.
+
+Smarty gets installed under /usr/lib/php/Smarty, so to use it, in standard
+configuration it should be enough to use the following PHP code:
+require_once( 'Smarty/Smarty.class.php' );