Kevin Dangoor wrote:
> TurboGears 0.8 can do /blog/2005/1/1 using the default method.
> Hopefully, TurboGears 0.9 will support positional parameters
> universally. (The future TurboGears version that includes CherryPy 2.2
> will definitely do it.)
>
> So, the mechanism is there. It's just defined in Python and not in a
> separate config file. (A bonus, in my book.)
>

Very true. I guess I've been shying away from the default method
because it made validation harder.  Or maybe I was trying too hard to
"balance" my urls. For some reason, I really want urls like this:
/viewRecipe?name=...
/editRecipe?name=...
to map directly to controller functions of the same name. In an SEO
scenario, editRecipe doesn't want to be indexed and the default method
could delegate to the viewRecipe internally.

Good food for thought.

Reply via email to