RE: [SMARTY] XML Templates
| From: | Gary Loescher | Date: | Fri, 10 May 2002 13:37:49 +0000 |
| Subject: | RE: [SMARTY] XML Templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4153@lists.php.net to get a copy of this message | ||
>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
>>