I have an application which uses GET forms for the purpose of providing links which one person can send to another. For example:
Code:
projects.php?action=list&team=Design&client=SomeClientName&status=All
I am in the process of migrating to ZF and have a working MVC application. If i submit the above form I end up with something similar to:
Code:
/projects/list/?team=Design&client=SomeClientName&status=All
Ideally I would end up at
HTML Code:
/projects/index/team/Design/client/SomeClientName/status/All
OR
Code:
/projects/index/Design/SomeClientName/All
Is there a particular method I have missed for this, or should I be submitting my forms to some kind of /bounceController which redirects to the neat URL ?
I wonder if a Controller Plugin can be written, to detect a GET request with variables, and perform the rewriting.