How can I make the routing automatically work for everything in the ZF1 structure?
module/controller/action/par1Name/par1Val/par2Name/par2Val/
I read the information about routing, but the way I see it, I’d have to add all actions manually, and I see a problem with optional params…
You can set up a wildcard child_route, at least on a per-controller basis, to get zf1-like routes:
Then you can use, for instance, the url() view helper:
which will produce a url like /products/edit/id/5/foo/bar