On Sunday, July 31, 2016 at 5:31:47 PM UTC-4, Massimo Di Pierro wrote:
>
> Can you point to any other web framework that allows reverse mapping 
> path_info into query_string?
>

Looks like Yii does allow this. Its URL helper allows you to specify named 
parameters. Rather than putting all named parameters in a query string (as 
web2py would via the "vars" argument), it instead allows you to include 
parameter names in the route patterns, placing the associated values in the 
positions of the parameter names within the pattern (only parameter names 
that do not appear in the route pattern are added to the query string). 
web2py instead distinguishes between "args" (which go in the URL path) and 
"vars" (which go in the query string), and does not allow mapping of "vars" 
into the outgoing URL path (though incoming elements from the path can be 
mapped into request.get_vars).

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to