Zend Framework default routing for hyphenated and camelCase URL’s
Using the default routing in Zend Framework (v1.x), I always forget how certain URL patterns map to action and view-script names. So just a quick post, mostly for myself, to record them here.
URL: mycontroller/test-me
Controller: mycontroller
Action: testMe
Script: test-me.phtml
URL: mycontroller/testMe
Controller: mycontroller
Action: testme
Script: test-me.phtml
That’s it!