For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2006 > [ANNOUNCEMENT] HTML_Template_IT-1.1.4 (stable) Released.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [ANNOUNCEMENT] HTML_Template_IT-1.1.4 (stable) Released.
PEAR Announce

2006-04-11, 9:59 pm

The new PEAR package HTML_Template_IT-1.1.4 (stable) has been released at http://pear.php.net/.

Release notes
-------------
- #6084, fread raises warning when used with empty files
- #7359, remove notices when a block is not yet defined
- fix a bug introduced with some cleanup commit, in some cases,
callbacks did not work anymore



Package Info
-------------
HTML_Template_IT:
Simple template API.
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})

HTML_Template_ITX :
With this class you get the full power of the phplib template class.
You may have one file with blocks in it but you have as well one main file
and multiple files one for each block. This is quite usefull when you have
user configurable websites. Using blocks not in the main template allows
you to modify some parts of your layout easily.



Related Links
-------------
Package home: http://pear.php.net/package/HTML_Template_IT
Changelog: http://pear.php.net/package/HTML_Te.../download/1.1.4
Download: http://pear.php.net/get/HTML_Template_IT-1.1.4.tgz

Authors
-------------
Pierre-Alain Joye (lead)
Ulf Wendel <ulf.wendel@phpdoc.de> (developer)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com