+1 Twig as default
On 09/22/2010 01:13 AM, Yuen-Chi Lian wrote:
Just to clarify, my response earlier was simply to put up some points
to be considered. I use Twig in my recent projects - it's cleaner -
and I hate the partials and helpers that I maintained in my earlier
Symfony projects.
So it's a +1.
Yuen-Chi Lian | www.yclian.com <http://www.yclian.com>
"I do not seek; I find." - Pablo Picasso
On Wed, Sep 22, 2010 at 3:47 PM, Chris Banford <ch...@swisspasses.com
<mailto:ch...@swisspasses.com>> wrote:
On 9/22/2010 9:09 AM, Fabien Potencier wrote:
Hi Jordi,
...[snip]...
- On the downside, I guess Twig has a bit of a learning
curve, but then
again people must learn the symfony "keywords" anyways, like
$view['router'], that aren't especially obvious to a
non-sf developer.
So it's not like PHP templates are completely
straightforward, and Twig
syntax is quite simple and well documented.
I think this is quite the opposite. Sure, for a developer,
Twig is something new. But for web designers, I think they can
learn Twig must faster than PHP (HTML designers at Sensio now
use Twig instead of PHP and they love it).
Fabien
Thoughts?
Cheers
As someone who's 'new' to sf in general, and sf2 in particular
(having only done some light tinkering around with it all on an
Ubuntu VM on my rusty old Windows laptop), I'd like to put in my
vote for going with Twig - it sounds fantastic to me (and I come
from more of a designer-y background).
For me looking/thinking of moving a large-ish old-style php app
(read messy) to sf2, the thought of having to learn a little bit
extra to gain in the templating department is no biggie --
learning the rest of sf2 is going to be the real hurdle to cross...
So my vote would be to remove the templating engine options and
just go with a lean, mean Twig.
Cheers,
-Chris
--
If you want to report a vulnerability issue on symfony, please
send it to security at symfony-project.com
<http://symfony-project.com>
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
<mailto:symfony-devs@googlegroups.com>
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
<mailto:symfony-devs%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en