[Dancer-users] dancer2's prototype is there, feedback needed

Alexis Sukrieh sukria at sukria.net
Mon Oct 3 22:52:50 CEST 2011


2011/10/3 David Precious <davidp at preshweb.co.uk>:
> On Monday 03 October 2011 17:30:37 Alexis Sukrieh wrote:
>> > Changing the template engine to "template_toolkit" simply changes the
> error message to:
>> Yeah, the syntax changed, you should do the following in your config:
>>
>> template: "toolkit"
>
> I'm not sure I really like the change from Dancer::Template::TemplateToolkit
> to Dancer::Template::Toolkit; the logical layout is a module under the
> Dancer::Template namespace named after the templating engine it uses, i.e.
> "Dancer::Template::EngineName" - e.g. Dancer::Template::TemplateToolkit,
> Dancer::Template::HTMLTemplate, etc.  Using just "toolkit" seems a bit wrong
> to me - what do you think?

Fair enough, I'll change it back to TemplateToolkit.

Also, I plan to remove our Template::Simple engine in dancer2 in favor
of Template::Tiny.


More information about the Dancer-users mailing list