[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275230: ITP: php4-pear-html -- Simple template API. Template system made for works with pear to support IT HTML



Package: wnpp
Severity: wishlist


* Package name    : php4-pear-html
  Version         : 1.10.1
  Upstream Author : Pierre-Alain Joye <pajoye@php.net>
* URL             : http://pear.php.net/package/HTML_Template_IT/
* License         : GPL
  Description     : Simple template API. Template system made for works with pear to support IT HTML

The Isotemplate API is somewhat tricky for a beginner although it is the
best one you can build. template::parse() [phplib template =
Isotemplate] requests you to name a source and a target where the
current block gets parsed into.
Source and target can be block names or even handler names. This API
gives you a maximum of fexibility but you always have to know what you
do which is quite unusual for php skripter like me.

I noticed that I do not any control on which block gets parsed into
which one.
If all blocks are within one file, the script knows how they are nested
and in which way you have to parse them. IT knows that inner1 is a child
of block2, there's no need to tell him about this.
Features :
* Nested blocks
* Include external file
* Custom tags format (default {mytag})

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1
Locale: LANG=C, LC_CTYPE=C



Reply to: