Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37411323
en ru br
Репозитории ALT
S:1.3.13-alt1
5.1: 1.3.4-alt2
4.1: 1.2.5-alt2
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: pear-HTML_Template_Flexy

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Текущая версия: 1.2.5-alt2
Время сборки: 17 января 2008, 03:34 ( 848.2 недели назад )
Размер архива: 95.00 Kb

Домашняя страница:   http://pear.php.net/package/HTML_Template_Flexy

Лицензия: PHP License
О пакете: An extremely powerful Tokenizer driven Template engine
Описание:

HTML_Template_Flexy started it's 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 regex'es, 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,
  o easy to learn...
  o prevents to much logic going in templates
- Easy to write document'able code
  o 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
  o you can create full featured templates, that doesnt get broken every
time you edit with
    Dreamweaver(tm) or Mozilla editor
  o Uses namespaced attributes to add looping/conditionals
- Extremely Fast,
  o runtime is at least 4 time smaller than most other template engines
(eg. Smarty)
  o 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)
  o All variables default to be output as HTML escaped (overridden with
the :h modifier)
- Multilanguage support
  o Parses strings out of template, so you can build translation tools
  o 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

Features:
- {variable} to echo $object->variable
- {method()} to echo $object->method();
- {foreach:var,key,value} to PHP foreach loops
- tag attributes FLEXY:FOREACH, FLEXY:IF for looping and conditional HTML
inclusion
- {if:variable} to PHP If statement
- {if:method()} to PHP If statement
- {else:} and {end:} to close or alternate If statements
- FORM to HTML_Template_Flexy_Element's
- replacement of INPUT, TEXTAREA and SELECT tags with
HTML_Template_Flexy_Element code
 use FLEXY:IGNORE (inherited) and FLEXY:IGNOREONLY (single) to prevent
replacements
- FLEXY:START/FLEXY:STARTCHILDREN tags to define where template
starts/finishes
- support for urlencoded braces {} in HTML attributes.
- documentation in the pear manual

- examples at http://cvs.php.net/cvs.php/pear/HTML_Template_F…

Текущий майнтейнер: Vitaly Lipatov

Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета:

Список rpm-пакетов, предоставляемый данным srpm-пакетом:

  • pear-HTML_Template_Flexy
ACL:
     
    дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    текущий майнтейнер: Michael Shigorin