View Full Version : Which template mechanism is best?
FancyToy
10-24-2000, 12:49 PM
The one defined in PHPLIB, or FastTemplate?
I'm trying to collect a general opinion on that...
FancyToy
PaulKroll
10-25-2000, 12:30 AM
PHPLIBs is poorly documented, and they seem to name functions in such a way as to purposefully mislead.
FastTemplate, last I checked, was less flexible than PHPLIBs, if you knew what PHPLIB was doing.[nbsp][nbsp]Neither of these is so superior that I'd avoid making my own, which most of the time, can be str_replace() just as effectively and probably faster.
No one, as far as I know, has done what I would consider the height of template madness and grace: to build a template out of JavaScript, where all the links made a request to the apache server for only the Template Fields (Title, Body, Navigation, what have you) and only that data was returned: then the JavaScript re-writes the page with the appropriate template filled in. Minimum bandwidth, maximum speed. If you rendered the Template Fields output to static pages... Anyhow, it's a dream I have. (In this dream, >I< don't have to maintain the JavaScript code... :) )
[This message has been edited by PaulKroll (edited 10-25-00@01:00 am)]
Hunkorama417
10-25-2000, 02:01 AM
Actually, I prefer Richard Heyes' template class. It's the best I've seen in PHP. http://www.heyes-computing.net/scripts/
------------------
Andrew
www.digi-FX.net (http://www.digi-FX.net)
FancyToy
10-25-2000, 12:24 PM
Hey guys,
Thank you very much for your comments.
I will check Richard Heyes' template class and decide if I should use it or attempt to be more creative.
As described in my previous messages, I am on a quest... ;-)
Therefore, you are going to see me post on this board again and again.
If you contributed to my pursuit of the perfect "Apache/PHP/MySQL'-based CMS and if you would like to be kept informed of my progress in that pursuit, please send me your E-mail address at: community@concentual.com.
This is not a mailing list.
I just would like to make sure those who offer their help get credit or something in return.
FancyToy
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.