- Name: php-pear-HTML_Template_Sigma
- Version: 1.2.0
- Release: 7.mga4
- Epoch:
- Group: Development/PHP
- License: PHP License
- Url: http://pear.php.net/package/HTML_Template_Sigma/
- Summary: Integrated Templates API implemetation with template 'compilation'
- Architecture: noarch
- Size: 106382
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
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
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: sucuk.mageia.org 1382107807
- Buildhost: sucuk.mageia.org
Sources packages:
Other version of this rpm: