September 19th, 2001, 08:46 AM
Re: FastTemplate is not really Object Oriented
I'd like to test your template system.
If it's free, plz drop me a mail
September 19th, 2001, 08:54 AM
Re: Template Variables
isn't be a problem to implement that yourself, is it.
September 19th, 2001, 08:59 AM
that's right, I used that way in a shoutbox script.
what are the (dis-)advantages of each method?
September 27th, 2001, 10:41 PM
You can get it at: http://www.ultratemplate.com/
October 4th, 2001, 12:09 PM
Output into a variable?
i have a Problem I donīt want to print the output but i want to put it into a variable.
Is it possible to put the parsed content into a variable?
Thank you for your help.
November 23rd, 2001, 12:35 PM
I had to know which was faster so I set up several identical html pages with about 200 lines, 15 strings to replace, with ten being pulled from MySQL. The MySQL vars are relevant since XTemplate supports array parsing while others force you to name each one separately.
The first page used very simple while loop for testing purposes:
$fp = @fopen($htmlpage, "r");
while ( !foef($fp))
$buffer = fopen($fp, 1024);
$buffer = str_replace('%time%', $time, $buffer);
$buffer str_replace('%example%', $example, $buffer);
$page .= $buffer;
That took 0.151 seconds
FastTemplate took 0.062 seconds
And XTemplate took 0.033 seconds
My conclusion: XTemplate is faster and provides more functionality.
January 22nd, 2002, 10:41 AM
Re: PHP script inside a template?
the whole point of FastTemplate and templating in general is that you keep ALL of your php code completely seperate from your site layout (HTML).
Otherwise there is no point using FastTemplate.
February 3rd, 2002, 04:10 PM
Can some one post the code of this tutorial, as it is supposed to go in a file. I dont know if the code posted in the tutorial is all in one file or seperate files. You help will be appreciated. Also, where does one find the php.ini file mentioned in the tutotial?
February 25th, 2002, 07:23 PM
im using multiple templates for replacing data from a mysql query. i have three levels, after the second level it seems to loop forever.
anyone else have this issue?
June 23rd, 2002, 02:44 PM
Re: Install example
if your using Fast Template version 1.1 and PHP4 then change line 213 to -
your getting this error because the script was written for PHP3 and alot has changed since then.
PHP Fast Template
PHP Fast Template
July 02, 2001 - Why separate presentation from logic? The simple answer to the question is, "It keeps things simple". If presentation wasn't separated from logic around your house, you'd have to be an electrician to replace light-switch covers. The same goes for large-scale web applications. Graphic designers shouldn't need to be software engineers in order to update the fonts in a web page. Separating logic from presentation makes that possible.
Please discuss this article in this thread. You can read the article here .
If you would like to see an article covering a particular topic, please post your request here.