[Buildbot-devel] Using DTL instead of HAML

Dustin J. Mitchell dustin at v.igoro.us
Mon Nov 26 04:55:32 UTC 2012


I've been working on turning the new Buildbot Dojo application into a
separate package.  Part of the reason to do so is to make it familiar
to someone who knows Dojo.

Up to now, the templates for the application have been written in
Haml, which is a beautiful templating language -- but which requires
offline compilation and isn't "normal" Dojo.

I'm looking at DTL -
http://dojotoolkit.org/reference-guide/1.8/dojox/dtl.html - as a
replacement.  But its documentation is in pre-1.7 style, so it's not
immediately clear to me how to use it.  And when I fired it up, it
told me (via console.warn) that it's experimental and that its API may
change at any time.

Is there a different, better-supported templating library in Dojo?  Is
DTL more stable than it suggests?

More generally, we're in need of folks who know Dojo pretty well, not
necessarily to hack on the new UI, but as a resource to keep us from
making stupid choices.  Do you know anyone?

Dustin




More information about the devel mailing list