Re: [SMARTY] can Smarty be much faster?
| From: | Monte Ohrt | Date: | Mon, 24 Feb 2003 19:19:29 +0000 |
| Subject: | Re: [SMARTY] can Smarty be much faster? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8158@lists.php.net to get a copy of this message | ||
There was an initiative for a C extention to PHP for templating, and it
eventually got dropped, mostly because there was too much debate on what
it should do an how it should work. Also there were many technical
barriers with things we wanted it to do. That's about when Smarty came
to be.
We use Smarty on large scale projects, it works great for us. Realize
with a C extension, you are not going to have near the user contribution
(C programmers vs. PHP programmers.) The contributions of users are a
huge part of Smarty's success.
But, I'm not adverse to a C extention that Smarty could benefit from.
Monte
On Mon, 2003-02-24 at 12:29, Kirill Protsenko wrote:
> Hello,
>
> Were you thinking about making Smarty a php module, which would make it many times faster...
> the benefits are obvious, from security, simplicity of use to speed, caching improvements, etc.
> It would require a lot of work though, but if templates are ever going to be XML-like, it would
> be (I believe) better to accomplish this in C rather than in PHP...
> I'm not using Smarty in its present form, I took version 1.3 or something like that, and
> changed it quite a bit, added additional stuff (the modified Smarty has a DB abstraction level,
> built-in security (became partly duplicated in php 4.3), and some other stuff...)
> But I find it not suitable for large scale projects... The only alternative at this point is
> java, but PHP + Smarty could find its niche as well. So I was thinking to make a C php extention.
> I'm new to the list, so maybe this challenge was already discussed some time ago.
>
> Kirill.
--
Monte Ohrt <monte@ispi.net>