On Thu, Oct 28, 2010 at 3:20 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > Out of the box you can do: > > @service.run > def insertdog(name,owner,age): > # other things > > and in routes: > > routes_in=[ > ('/app/default/insertdog/$name/$age/$owner', > '/app/default/call/run/insertdog/$name/$age/$owner')] > > I guess we can make another decorator that automatically registers the > routes.
But this is perfectly fine, though. Most frameworks I've worked with do some variant of the above, and I don't see people complaining. On the other hand, maybe there could be an UI for routes in the admin section. Make it obvious that routes are there. And maybe per-app routing to be available on edit pages. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group