On Feb 11, 2008 12:19 AM, Max Ischenko <[EMAIL PROTECTED]> wrote:
>
>  Very new werkzeug WSGI framework has an interesting routing approach:
>  http://werkzeug.pocoo.org/documentation/routing
>
>  May be something worth studying.

It's got some ideas, most notably its way of handling trailing
slashes.  The 'strict_slashes' option would be a good thing to adopt.

Its way of handling numeric URL variables ("int:varname") is a
possibility, though the Requirements regex gives us more flexibility.
Currently Routes doesn't do int conversion; it just checks if a
substring is numeric.  I'm not sure if that's something Routes should
get involved in or not.

Its use of redirect routes is basically the same as Routes 2's.

Werkzeug returns "string/string" instead of controller and action
variables.  I don't think we want to do this, because controller and
action have served us so well.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to