[Buildbot-devel] Template system for HTML views (#342 and 1.0)
Steve 'Ashcrow' Milner
smilner at redhat.com
Tue May 26 13:21:14 UTC 2009
On 25/05/09 14:44 +0200, Gareth Armstrong wrote:
>Marcus Lindblom wrote:
>>> Hi,
>>>
>>> It'd be nice to use a proper HTML template system, rather than manually
>>> concatenating pieces of text. (This has problems, like
>>> http://buildbot.net/trac/ticket/342).
>>>
>>>
>Sorry for jumping in late, ++1 for your suggestion. My team is already
>doing some basic templating to set up additional web pages using
>buildbot's "&builder=xyx" filter syntax and it works a treat.
>
>> jinja(2) (http://jinja.pocoo.org/), which is used by sphinx (python's
>> own documentation generator).
>> I'd not call it a preference of mine (yet), but it is quite expressive
>> and easy to use.
>>
>So far we have played with kid (http://www.kid-templating.org), cheetah
>(http://www.cheetahtemplate.org, www.communitycheetah.org) and mako
>(http://www.makotemplates.org).
>
>Of the three, my personal preference is for mako for its simplicity and
>power. I have not yet used jinja but I am willing to have a look too.
>I have not yet dug a trench for a flame war ;-).
>
>> I agree about the general idea of using a templating tool for the html
>> frontend. As long as the interface is well encapsulated, it shouldn't be
>> hard to change the specific tool, if ever this may become desirable.
>> Other than that, I guess it's more important just to pick one and get
>> started, than to decide which one. (I'm slightly afraid of another
>> language / tool bikeshed discussion / flamewar... :-) )
>>
>I agree with trying to create a well encapsulated interface. Most of
>the python MVCs have already got this figured. If I can help out just
>let me know.
>
>All the best,
>
>Gareth
>
>--
>
>
>
>------------------------------------------------------------------------------
>Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>is a gathering of tech-side developers & brand creativity professionals. Meet
>the minds behind Google Creative Lab, Visual Complexity, Processing, &
>iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
>Group, R/GA, & Big Spaceship. http://www.creativitycat.com
>_______________________________________________
>Buildbot-devel mailing list
>Buildbot-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/buildbot-devel
As a huge fan of how Django does templates I can say jinja2 ftw! :-)
--
kthxbye!
Steve 'Ashcrow' Milner
Agent of Infosec
IRC: ashcrow
GnuPG ID: 28DFD4BE
"In the heat of conversation I may have said certain things I believe
to be untrue. The alleged lie that you might have heard me saying
allegedly moments ago ... thats a parasite that lives in my neck."
-- Tad Ghostal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20090526/ca3d159e/attachment.bin>
More information about the devel
mailing list