Re: [SMARTY] PHP Extension
| From: | messju mohr | Date: | Wed, 11 Jun 2003 19:57:28 +0000 |
| Subject: | Re: [SMARTY] PHP Extension | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9700@lists.php.net to get a copy of this message | ||
On Tue, Jun 10, 2003 at 05:35:18PM +0200, Alex wrote:
> Exactly what I meant. Move out the actual compiler to PHP extensions and
> leave all the modifiers and pre-filters and all the other bla-bla in
> user space ;) It may be an interesting extension to PHP
why the compiler? in a well designed application the overhead of the
smarty-compiler should by neglible. it is only executed when a
template changes. this is only done in development or maybe in a cms
at administration time.
an extension that can serialize an object's state *and* it's
corresponding class' implementation (the bytecode of it's method's
implementation) would by a thing smarty could vastly benefit of,
though. it would be what phpa does for smarty plus a bit more.
greetings
messju