Hi,

I'm currently realizing that through my Symfony development
experience, I've nearly *never* used :

- 404 redirects ($this->redirect404Unless... etc) because 404 errors
seem too confusing for developers and users (I prefer to send the user
to its original action with a "gentle" message, than in a "dead end").

- return sfView::SUCCESS / sfView::ERROR : as well, "flashing" the
user about the problem is nearly always enough.

For that second point, it leads me to think that always adding
"...Success" at the end of templates names does not worths the effort.
Template names could simply be "index.php", "create.php", "list.php"
etc. like for partials...

Creating and reading actions filenames is not a difficult but quite
frequent task, and sometimes I find writing endlessly "...Success"
being a pure time loss.

Am I alone to only use the "success" templates ?
Could it be interesting that Symfony automatically checks for both an
"<action><Success/Error>.php" file and a "<action>.php" file ?


Regards,
Maxime

--~--~---------~--~----~------------~-------~--~----~
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