how exercise url settlement interpreter used django ror php
what's best proceed exercise url interpreter / dispatcher, such found ror, php?
it should means conclude query twine follows:
/users/show/4
maps to- area = users
- action = show
- id = 4
/contents/list/20/10
maps- area = contents
- action = list
- start = 20
- count = 10
/toggle/projects/10/active
maps to- action = toggle
- area = projects
- id = 10
- field = active
where query twine specified / post variable, twine upheld interpreter.
edit: i'd move an doing does mod_rewrite.
edit: doubt purify urls, nonetheless interpreting url. drupal uses mod_rewrite route requests such . following interprets value $_request['q']. i'm prying interpreting part.
Comments
Post a Comment