yvi: Dreamsheep Teal'c (Dreamsheep - Sheepl'c)
yvi ([personal profile] yvi) wrote in [site community profile] dw_dev2010-04-05 12:37 pm
Entry tags:

Template Toolkit

This week, I am planning to start working on a patch that will require creating a new page. ( http://bugs.dwscoalition.org/show_bug.cgi?id=1843 )

From this post, I gather that it would be good if it could be done in Template Toolkit right from the start, am I correct?

Related questions: Is the end goal to replace all BML pages? If so, and if one feels the desire (I am looking at you, recent_comments.bml!), can we just open bugs and convert the pages? Is there going to be some organized push towards that goal? (it seems like a nightmare, but a few converted pages a month and it should be done in 2012 ;))
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2010-04-05 10:46 am (UTC)(link)
Yes, I'd prefer all new pages to be TT. :)

The end goal is to remove BML entirely. You're welcome to convert pages to TT, we will try to push in that direction at some point, but probably not until the fall at least.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2010-04-05 11:05 am (UTC)(link)
Yup, the end goal is to replace all BML pages. There are still some things missing in TT (form_auth for example), so I suppose that it's not yet practical to have everything new be TT, but as much as is possible, go with TT *G*
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2010-04-05 11:11 am (UTC)(link)
Yup! I think that would be pretty good to start learning TT with .
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2010-04-05 12:58 pm (UTC)(link)
TT is pretty cuddly compared to BML :)
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2010-04-06 03:42 pm (UTC)(link)
*G*

Oh hey, have you seen the intro to TT wiki page yet? http://wiki.dwscoalition.org/notes/Template_Toolkit
kareila: Taking refuge from falling debris under a computer desk. (computercrash)

[personal profile] kareila 2010-04-05 04:35 pm (UTC)(link)
Oh, good - if form_auth doesn't work yet, I can keep coding my vgifts admin page in BML.

(It has eaten my brain for the past four months and converting it to TT would break me at this point.)
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2010-04-06 03:40 pm (UTC)(link)
IMO, since the vgifts page is already coded, it's already old code (even if it hasn't been committed yet). In other words, carry on!
kareila: (Default)

[personal profile] kareila 2010-04-06 07:11 pm (UTC)(link)
Half-coded at any rate. :)
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2010-04-06 03:38 pm (UTC)(link)
Ooh, yeah.
allen: (scientist)

[personal profile] allen 2010-04-05 02:59 pm (UTC)(link)
I tried converting allpics over to TT for bug 1433, but eventually gave up, worried that I might break something that already worked. But I'm using it for the new logged-in Protected page (bug 2138).

...I'd call the TT support in DW still in the experimental/alpha stage. It works, but it's still pretty rough around the edges. In other words, if you start trying to use it and find that you can't get something to work, it's very possible that it's because it just doesn't work yet, rather than you not having been able to figure it out.
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2010-04-05 03:57 pm (UTC)(link)
But if you find something that doesn't work, poke Dre so she can look into it!