It's time for me to head home, so I can't provide a full answer right now (mainly because of the amount of things I would need to write for that full answer). I also don't want you thinking you're being ignored. Really, the single best thing you can do is work the tutorial located here: http://turbogears.org/2.1/docs/main/Wiki20/wiki20.html
Doing that, you will out that what you are suggesting you must do (quoted below) is vastly incorrect.After dinner, I'll log on later and point out some other items that will help. For now, use that tutorial. It will quite distinctly change what you are thinking you must be doing. On Wed, Jul 14, 2010 at 6:08 PM, Gisborne <[email protected]> wrote: > Also: this seems inefficient. Clearly I'm missing something. > > First, the reason for separated routing is that it means you can > change your URLs without having to rewrite your entire app logic. This > does not seem a trivial concern. > > Second, this would seem to leave me now with writing a restful app by > writing methods on root that look like: > > def thing(self, **kw): > if request.method == 'POST': > ThingsController.post(kw) > if request.method == 'GET': > ThingsController.index(kw) > > etc, which is the kind of tedious busy work I expect my web framework > to do for me. Not to mention my root controller is going to get > awfully busy. > > Not trolling; I'm clearly missing something. If I'm not to fix these > issues with a routing file, what is the idiomatic solution? > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<turbogears%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

