Proposal: if web2py/applications/*/routes.py exists, then it is joined
with web2p/routes.py if any, and the app may rewrite the sections
after the app name, (controller, function, args, kwargs).

This would be useful for building rich/restful urls:

/api/blogs/11/posts/22/comments.xml

While this can be accomplished already with web2py/routes.py, the fact
is that an application like this will not work with out creating/
modifying the global routes.py (bad), by checking for per-app routes,
apps can define nice routes that work with or without web2py/
routes.py.

This would allow apps to have isolated customization without modifying
or even requiring the use of global routes.

It would be backwards compatible!

Thoughts?

Robin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to