- Name: php-pear-HTML_Template_Flexy
- Version: 1.2.5
- Release: 1mdv2008.0
- Epoch:
- Group: Development/PHP
- License: PHP License
- Url: http://pear.php.net/package/HTML_Template_Flexy/
- Summary: HTML_Template_Flexy - a flexible caching template engine based on SimpleTemplate
- Architecture: noarch
- Size: 694790
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Oden Eriksson <oeriksson@mandriva.com>
Description:
HTML_Template_Flexy started its life as a simplification of
HTML_Template_Xipe, however in version 0.2, it became one of the first
template engine to use a real Lexer, rather than regexes, making it
possible to do things like ASP.net or Cold Fusion tags. However, it
still has a very simple set of goals.
- Very Simple API,
- easy to learn...
- prevents to much logic going in templates
- Easy to write documentable code
- By using object vars for a template rather than 'assign',
you can use PHPDoc comments to list what variable you use.
- Editable in WYSIWYG editors
- you can create full featured templates, that don't get
broken every time you edit with Dreamweaver(tm) or Mozilla
editor
- Uses namespaced attributes to add looping/conditionals
- Extremely Fast
- runtime is at least 4 time smaller than most other template
engines (eg. Smarty)
- uses compiled templates, as a result it is many times faster
on blocks and loops than than Regex templates (eg.
IT/phplib)
- Safer (for cross-site scripting attacks)
- All variables default to be output as HTML escaped
(overridden with the :h modifier)
- Multilanguage support
- Parses strings out of template, so you can build translation
tools
- Compiles language specific templates (so translation is only
done once, not on every request)
- Full dynamic element support (like ASP.NET), so you can pick
elements to replace at runtime
The long term plan for Flexy is to be integrated as a backend for the
Future Template Package (A BC wrapper will be made available - as the
author needs to use it too).
In PEAR status of this package is: stable.
- OptFlags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
- Cookie: seggie.mandriva.com 1177058187
- Buildhost: seggie.mandriva.com
Sources packages:
Other version of this rpm: