← Back to team overview

launchpad-dev team mailing list archive

Re: 'stache, handlebars, tal and so forth

 

On Tue, Jan 31, 2012 at 2:52 PM, Richard Harding
<rick.harding@xxxxxxxxxxxxx> wrote:
> Yes, you are correct. This then gets into why some of us aren't the biggest
> fans of Mustache as a template language. A very similar language with
> similar syntax is Handlebars. The nice thing about handlebars is that it
> supports the idea of helpers.
>
> http://handlebarsjs.com/#helpers
>
> If you follow that idea you could see writing a json_dateparse helper that
> you could register and use in your template

I think that that is a quirk of moustache.js, as pystache supports
external helpers (and moustache started in ruby, so ... I suspect
in-context helpers is a bogon :)

-Rob


Follow ups

References