launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #08823
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
-
'stache, handlebars, tal and so forth
From: Robert Collins, 2012-01-25
-
Re: 'stache, handlebars, tal and so forth
From: Marc Tardif, 2012-01-27
-
Re: 'stache, handlebars, tal and so forth
From: Richard Harding, 2012-01-30
-
Re: 'stache, handlebars, tal and so forth
From: Marc Tardif, 2012-01-30
-
Re: 'stache, handlebars, tal and so forth
From: Richard Harding, 2012-01-31