Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Smarty vs Twig

 
Post new topic   Reply to topic    Smarty Forum Index -> Article Discussions
View previous topic :: View next topic  
Author Message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7289
Location: Lincoln Nebraska, USA

PostPosted: Wed Nov 30, 2011 3:29 pm    Post subject: Smarty vs Twig Reply with quote

xially from uMumble has posted an interesting article comparing Smarty 3.1.1 and Twig 1.2.0.

http://umumble.com/blogs/php/249/
Back to top
View user's profile Send private message Visit poster's website
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4686
Location: Hamburg / Germany

PostPosted: Thu Dec 01, 2011 1:13 am    Post subject: Reply with quote

Comparing template inheritance with a chain of 100 child-parent relationship is academic. But same test using just 1 child-parent repation show that Smarty is executing still 10 times faster.
Back to top
View user's profile Send private message
marclaporte
Smarty n00b


Joined: 28 Jul 2003
Posts: 2
Location: Montréal, Canada

PostPosted: Sun Dec 04, 2011 6:05 pm    Post subject: Smarty 2.x vs Smarty 3.0.x vs Smarty 3.1.x Reply with quote

Hi!

What I'd like to see is such benchmarks for Smarty 2.x vs Smarty 3.0.x vs Smarty 3.1.x

Thanks!

M Wink
_________________
Marc Laporte
http://tikiwiki.sourceforge.net/
Back to top
View user's profile Send private message Visit poster's website
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 698
Location: Germany, border to Switzerland

PostPosted: Sun Dec 04, 2011 7:36 pm    Post subject: Reply with quote

There's an (unofficial) benchmark here: http://rodneyrehm.github.com/php-template-engines/htdocs/tests.html - find the source of it here https://github.com/rodneyrehm/php-template-engines
_________________
Twitter
Back to top
View user's profile Send private message Visit poster's website
drak
Smarty Rookie


Joined: 25 Nov 2009
Posts: 11

PostPosted: Mon Mar 26, 2012 2:51 am    Post subject: Reply with quote

It would be interesting to see how this compares to the latest Twig (1.6.3) as there have also been several performance related changes since 1.4.0

Drak
Back to top
View user's profile Send private message
bimal
Smarty Elite


Joined: 19 Apr 2007
Posts: 420
Location: Kathmandu, Nepal

PostPosted: Mon Aug 20, 2012 7:14 am    Post subject: Templating Engines in PHP Reply with quote

Faben Potencier, the author of Twig benchmarked various other template engines here in the title: Templating Engines in PHP
http://fabien.potencier.org/article/34/templating-engines-in-php

Covers Templates per second, Memory and introduction to several other template engines.

And still comments about Smarty as:
Smarty is the de-facto PHP standard template engine.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Aristophan
Smarty Regular


Joined: 10 Jan 2011
Posts: 84

PostPosted: Mon Aug 20, 2012 8:02 am    Post subject: Reply with quote

hmm, October 07, 2009!! vs. April 27, 2012 by Rodney!

Edit: »There are three kinds of lies: Lies, damned lies, and benchmarks« Wink
Back to top
View user's profile Send private message
Sarah6712
Smarty n00b


Joined: 21 Jun 2013
Posts: 1

PostPosted: Fri Jun 21, 2013 1:33 pm    Post subject: Re: Templating Engines in PHP Reply with quote

bimal wrote:
Faben Potencier, the author of Twig benchmarked various other template engines here in the title: Templating Engines in PHP
http://fabien.potencier.org/article/34/templating-engines-in-php

Covers Templates per second, Memory and introduction to several other template engines.
cannabis seeds for salemackeeper coupon codemackeeper reviewmarijuana seedscannabis seeds for saleweed seedsmarijuana seedshttp://www.marijuanaseedsdiscount.comhttp://www.marijuanaseedsdiscount.com/bongs.html - bongs for salesalvia divinorum on sale at www.marijuanaseedsdiscount.com/salvia.htmlhttp://www.marijuanaseedsdiscount.com/kratom.htmlhttp://www.marijuanaseedsdiscount.com/vaporizers.htmlhttp://steroids-for-sale.weebly.combuy kratomsalvia for salebongs for sale
And still comments about Smarty as:
Smarty is the de-facto PHP standard template engine.


Interesting read, would you say now with the hindsight of a few years having passed since the article was written that he was right in saying "Why PHP is not (anymore) a good template language".

I personally still see it as very useful..

Sarah
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Article Discussions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP