Forum Moderators: coopster

Message Too Old, No Replies

PHP templating non-db driven

php templates

         

kilonox

6:27 pm on Feb 2, 2005 (gmt 0)

10+ Year Member



I've been coding a database-less template system for php all running off the local fs and its been interesting. I've finished a first version of it and its pretty good, but I'm now looking to see if there is anything out there thats comparable.

The templates are flat files (normally html/xml etc) with a special ascii character inserted into it to designate where I might potentially want to put content or a php include. The administration of the templates and content then stems around the byte offset of that special ascii character in the template file, an approach that although works, doesn't feel to me as ideal.

I'm not interested in templates that run off of databases because of the sheer performance difference (read script time, resource utilization).

Any thoughts/code/projects I should look at for suggestions?

Thanks for listening-

kilonox

7:45 pm on Feb 2, 2005 (gmt 0)

10+ Year Member



currently working through:
[sitepoint.com...]

jusdrum

9:26 pm on Feb 2, 2005 (gmt 0)

10+ Year Member



Try Smarty:

[smarty.php.net...]

vabtz

9:41 pm on Feb 2, 2005 (gmt 0)



phpbb has a great template class too