Yeah I know (and agree) Twig is the default for Bundles. It was not
the case when we wrote DoctrineUserBundle and ForumBundle, that's the
reason why templates are in PHP.
Any contribution to translate them to Twig is welcome :)

On Oct 20, 3:50 pm, Lukas Kahwe Smith <[email protected]> wrote:
> On 20.10.2010, at 15:47, Fabien Potencier wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On 10/20/10 3:24 PM, Lukas Kahwe Smith wrote:
>
> >> On 20.10.2010, at 15:19, Thibault D wrote:
>
> >>> From what I know about template/CSS writers, we always need custom
> >>> HTML. Defaults are never good enough, even for small HTML parts like
> >>> the login form element.
> >>> In my current bundles, templates are just examples, designed to be
> >>> completely overwritten at application level.
>
> >>> We could provide more granular partials to make small parts reusable,
> >>> yes. For some bundles it may make sense.
>
> >> yeah .. like i said in many cases you need to customize, but more 
> >> granularity will make this easier.
> >> also the "conclusion" of the twig vs php template discussion was that both 
> >> are equal, but i guess we do favor twig now for Bundle templates? or do we 
> >> "expect" Bundle authors to provide both? or do we not care?
>
> > I think we need to make Twig the best-practice for third-party bundles.
>
> +1
>
> regards,
> Lukas Kahwe Smith
> [email protected]

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to