Hi there,

I just read the entire Symfony 2 quick tour. I found many useful and
smart things, which are great !
But I also wondered about a few (tiny) things, that are more about
ease of use.
Hope I get an answer here :)

1) I'm sorry that we lost the ability to "return nothing" in the
action (which would default to a specific template). Instead now, we
have to write "$this->render('HelloBundle:Hello:index', array('name'
=> $name));", which is long and useless. I think the SF1.4 way was
quicker. (but I am definitely fond of the arguments-like new way of
dealing parameters :) )

2) Can't we define layouts in view.yml anymore ? Do we have to use "<?
php $view->extend('HelloBundle::layout') ?>" in every single view ?

3) Is there a shortcut like "$view->render('hello')" (that would
default the namespace to the current one, if not specified) ?

These are just tiny thoughts (and other ones that were even tinier so
I did not bother to write them), but as much as I find the SF2
features awesome, I find it a bit more complex to use (but maybe it's
also a question of habit).

Thank you for your answers :)

A humble SF user.

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to