|
Posted by Malcolm Dew-Jones on 12/05/05 21:19
webguynow (invinfo@rcn.com) wrote:
: I like Smarty but I may have to design something similar myself, bc I'm
: having trouble getting it installed on my Shared WebHost.
: There are good examples out there. One on CodeWalkers
: http://codewalkers.com/tutorials/58/1.html
: I read a great book once, Enterprise Java, by Jeff Genender, that had
: an advance template system, with caching, etc. built into it.
: I'm giving another try to do a Smarty installation. After that, are
: there any good alternatives ?
Since this is mine, I shan't say if it is "good" or not, but it's free to
use if you wish
http://nisoftware.com/tnt/ (Stands for "TiNy Template").
It doesn't need an "install" as such, it is just a php file that you can
include with an app and "require" as needed. It is tested in php 4 on
Linux, and uses the basic xml parser that comes with php 4. It generates
php code that can be cached (or not as you wish) by specifying a
(writable) cache directory, or you can generate the compiled template
ahead of time so it can be used without even including the template
modules with the application.
[Back to original message]
|