Re: [SMARTY-DEV] Re: XML input
| From: | olivier guilyardi | Date: | Fri, 07 Jun 2002 10:11:03 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: XML input | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-133@lists.php.net to get a copy of this message | ||
Hi
Manuel Lemos a dit :
> On 06/06/2002 04:42 PM, Olivier Guilyardi wrote:
>>
>> Obtaining the template's variable values from the XML output of a php
>> script, using Expat and Output Control functions.
>
> It's slow. It won't scale unless you cache the output of your engine.
> Processing XML is slow and if you can live without it, it is
> recommended that you do it.
Yeah, for websites if it's not optimized for speed it won't scale ; but for
Intranet development, if it's not optimized for maintainability, it won't
scale as well.
I believe the "<?php" signature is a huge part of its identity, which makes
it intuitive to read and code with ; that is : embedded.
And as a plugin, it would let you free, wouldn't it ?
--og