On Sep 25, 7:43 am, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> Here is another suggestion: what about removing the "default" templating
> engine. What about making the templating engine part of the template
> name mandatory. That way we are always explicit and there is no default
> per se (technically -- of course, the documentation part is different):
>
> HelloBundle:Hello:index:php
> HelloBundle:Hello:index:twig
>
> HelloBundle:Hello:index.xml:php
> HelloBundle:Hello:index.xml:twig
>
> We can probably find a better naming convention. What about this:
>
> HelloBundle:Hello:index.php
> HelloBundle:Hello:index.twig
>
> HelloBundle:Hello:index.xml.php
> HelloBundle:Hello:index.xml.twig
>
> That way, when you are using the filesystem loader (and this is the case
> 99% of the time), the last part is just the file name.

+1 for being explicit and for "last part = filename". index:twig /
index:php is just confusing.

But there is still the problem with the docs.. ;-)

regards,
Matthias

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

Reply via email to