Gustavo Narea schrieb: > Hello. > > I am going to develop an application that will have the following > URLs: > /User:Gustavo - which should be handled by the "user" controller > /Project:MyCoolProject - which should be handled by the "project" > controller > [...] > So, the question is, can I do this with TurboGears? I'm currently > working on a similar project with the PHP framework Zend Framework, > and I can, but I want to switch to TG.
You should look at the Routes python package, which provided regex-based URL mapping. I think somebody integrated this with with TurboGears in the past, but I don't know where that effort stands now. Pylons, on which TurboGears 2 builds, uses Routes by default, but TG2 puts a object-tree URL mapping on top of that. Chris [1] http://pypi.python.org/pypi/Routes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

