aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Template_Sigma/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pear-HTML_Template_Sigma/pkg-descr')
-rw-r--r--devel/pear-HTML_Template_Sigma/pkg-descr22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/pear-HTML_Template_Sigma/pkg-descr b/devel/pear-HTML_Template_Sigma/pkg-descr
new file mode 100644
index 000000000000..e1fdc91f0af2
--- /dev/null
+++ b/devel/pear-HTML_Template_Sigma/pkg-descr
@@ -0,0 +1,22 @@
+HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.
+
+Features:
+ * Nested blocks. Nesting is controlled by the engine.
+ * Ability to include files from within template: <!-- INCLUDE -->
+ * Automatic removal of empty blocks and unknown variables
+ (methods to manually tweak/override this are also available)
+ * Methods for runtime addition and replacement of blocks in templates
+ * Ability to insert simple function calls into templates:
+ func_uppercase('Hello world!') and to define callback functions for these
+ * 'Compiled' templates: the engine has to parse a template file using regular
+ expressions to find all the blocks and variable placeholders.
+ This is a very "expensive" operation and is an overkill to do on every page
+ request: templates seldom change on production websites.
+ Thus this feature: an internal representation of the template structure is
+ saved into a file and this file gets loaded instead of the source one on
+ subsequent requests (unless the source changes)
+ * PHPUnit-based tests to define correct behaviour
+ * Usage examples for most of the features are available, look in the docs/
+ directory
+
+WWW: http://pear.php.net/package-info.php?package=HTML_Template_Sigma