Re: [SMARTY] XML Templates

From: Date: Fri, 10 May 2002 14:38:00 +0000
Subject: Re: [SMARTY] XML Templates
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4154@lists.php.net to get a copy of this message
Correct. Gary Loescher wrote:
Monte Ohrt wrote: prefilters only run once when the template gets compiled.
Ah, so the only time the prefilter would have to be run again is when the template changes, right?
Monte Ohrt wrote:
Just to spur a thought, you could try dropping in a prefilter that converts your tal-ish syntax (or any syntax for that matter) to something Smarty understands.
This is a great idea Monte. It'll increase execution time a bit, but I'm betting it wouldn't be significant overall with cacheing turned on. Unless someone decides to write templates in binary ;) Gary


« previous php.smarty.general (#4154) next »