Learning TT - am I on the right track?
Nov. 17th, 2012 11:53 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I'm rewriting /manage/index.bml in TT for bug 4709.
You didn't know we had a manage/index page? No, nor did I, so far as I can tell it's not linked to from anywhere on the site. But it exists, and it seemed like a decent exercise for teaching myself TT ;-)
I've reproduced the first section of it, and I'm hoping that somebody who knows the controller & TT model can take a look and see whether I'm on the right tracks - whether stylistically, or in terms of what goes in the controller and what goes in the template, or whatever else.
The bit I've done so far is at https://github.com/swaldman3/dw-free/commit/33cd1d9bd73f3fb1a6e39ac17bbc426d3c527afd
I'd welcome comments. Except ones about how it uses tables for layout. (I know that it uses tables for layout. I know that this is bad. I don't have the CSS knowledge to change that, so for now I'm just copying the layout from the old page. Maybe that'll be a future project for me, maybe somebody else will do it. Not worrying about it for now :-))
You didn't know we had a manage/index page? No, nor did I, so far as I can tell it's not linked to from anywhere on the site. But it exists, and it seemed like a decent exercise for teaching myself TT ;-)
I've reproduced the first section of it, and I'm hoping that somebody who knows the controller & TT model can take a look and see whether I'm on the right tracks - whether stylistically, or in terms of what goes in the controller and what goes in the template, or whatever else.
The bit I've done so far is at https://github.com/swaldman3/dw-free/commit/33cd1d9bd73f3fb1a6e39ac17bbc426d3c527afd
I'd welcome comments. Except ones about how it uses tables for layout. (I know that it uses tables for layout. I know that this is bad. I don't have the CSS knowledge to change that, so for now I'm just copying the layout from the old page. Maybe that'll be a future project for me, maybe somebody else will do it. Not worrying about it for now :-))