CatWalk II
![]()
Here is a screencast that goes through some of the stuff I’m planning for the next version of CatWalk. I talk about “list views” and some ideas inspired by Dabble - an amazing app.
Check it out and tell me what you think. If you have some ideas, wishes or suggestions for CatWalk, now is the time to make yourself heard. Or even better- If you want to get involved in the development join the TurboGears’s trunk-list and let me know.
PS. You can get the slides as pdf here
March 24th, 2006 at 6:55 am
Ron, this looks *great*.
I don’t like the format of the filters too much. Can’t we have something simpler like [’artist.name’, ‘==’, ‘Juanes’]?
Good job! Can’t wait to try Catwalk2 out
March 24th, 2006 at 7:34 am
Looks great,
how do I marry it with sqlalchemy?
March 24th, 2006 at 8:23 am
Thanks.
- Diwaker: You are right, Jorge pointed that out as well on the list. The rationale behind it was that if you want a filter in your kid template fx.: filters=[’developer.salary’,'>’,'300000′]. Kid will barf at it. In my templates I use a set of lambdas for this: ‘gt’,'lt’, and ‘eq’ (just for completnes sake).
- Florian: Join the development =) .I sure could use some help in that regard
March 24th, 2006 at 8:28 pm
You’ll want to hang out the sqlalchemy mailing list if you’re interested in sqlalchemy. I’m the guy who posts bug reports and test programs the whole time ^^
March 24th, 2006 at 8:31 pm
-Florian: see you there then =)
March 27th, 2006 at 6:09 am
Looks interesting.
1. Why do you use strings everywhere? Aren’t the actual objects readily available?
2. sort_by seems to be a single string. What about direction and secondary sorting? I think a list of (field, direction, cmp) tuples would be better.
Cheers,
Danny
March 27th, 2006 at 6:51 am
Hi Danny,
1. Nope. There is an ‘Artist.name’ property but there is no such thing as ‘Artist.albums.songs.title’
2. Correct, sort should be a list of tuples as well
March 27th, 2006 at 6:51 am
Very promising.
But methods to provide filters and others looks quite ugly and unreadable. Would be better if such functions take other filter functions as parameter.
Cheers,
Manish
March 27th, 2006 at 8:15 am
Hi Manish,
This ain’t cast in stone, I’m pretty open to any suggestion.