Well I'm obviously not going to refactor anything if there is no
noticeable performance gain. Hence, my whole entire point of
benchmarking in the first place.
Are you asserting its a waste of time to see if zend view is faster than
smarty? I have my doubts about how well smarty compiles templates into
php. For more complicated templates there could be a decent difference
between the php smarty produces and what a seasoned web developer can
write using zend view. And let's not dismiss a lot of the nice feature
benefits of zend view over smarty, especially some of the integration
with other zend framework components, dojo, and the active continued
development of zend view. You have to be honest that feature wise, in
the long term, zend view is more attractive than smarty.
- Tony
On 9/25/2008 1:33 AM, Karol Grecki wrote:
It's unlikely that you will see any significant speed difference between the
two.
You're better off making sure that everything is cached properly instead of
wasting time on refactoring.
Karol
Tony Ford wrote:
We still use smarty for basic legacy reasons. I'm interested in running
some benchmarks between zend view and smarty. If there is a significant
performance increase I'll consider refactoring all of our views over time.
I plan to do our own benchmarking in the next couple of months, so I'll
share that later. Anyone else done any benchmarking?
- Tony
On 9/24/2008 1:23 PM, Karol Grecki wrote:
Used it few years ago when css adoption was poor and there were no decent
mvc
frameworks. Nowadays it's no longer necessary. It's also old php4 code
that
I'd rather stay away from.
Karol
Garrison Locke wrote:
I know this usually starts a big war, but I was just curious about how
many people out there are using Smarty and to what extent you're using
it?
If you're not using it, why did you decide to not use it? If you are,
why? Also, if you're using it, how big or small are the projects? Just
personal things or like giant things with tens of thousands of users.
Thanks!
Garrison