Forum Moderators: coopster

Message Too Old, No Replies

Simple templating system

Anything simpler then smarty?

         

nfs2

9:34 pm on Jan 2, 2006 (gmt 0)

10+ Year Member



After looking at the smarty templating engine, i was wondering if there is anything simpler? I just need something very basic to seperate html from php. As long as it can pass variables to html files, thats all i need

any suggestions?

nfs2

11:27 am on Jan 3, 2006 (gmt 0)

10+ Year Member



All i really need is to display one page as a seperate html file.. Is there some simple way of doing this?

Rebrandt

12:45 pm on Jan 3, 2006 (gmt 0)

10+ Year Member



Try this:

[pukomuko.esu.lt...]

bennymack

12:56 pm on Jan 3, 2006 (gmt 0)

10+ Year Member



I'd suggest:
[phphtmltemplate.sourceforge.net...]

It's based on the Perl HTML::Template which is tried and true to have all the functionality a templating system would ever need.

I've used the Servlet version, the PHP version, and the Perl version all with much success. And there's something to be said about writing a template that can run under 3 or more different platforms.

nfs2

2:51 pm on Jan 3, 2006 (gmt 0)

10+ Year Member



Thanks for the suggestions guys, about an hour ago i started using bTemplate. Its one single file under 9kb, and very simple and works very well.