Custom route in Zend Framework?

The beauty of routing is that it gives you the tools for hiding exactly those pieces of information you are putting into your URL.

The beauty of routing is that it gives you the tools for hiding exactly those pieces of information you are putting into your URL. Apart from that, as far as I know ZF routes by default so that your URL would end up in ... the action with name method of the controller with name controller of the module with name module So either your example-URL is complicating things or you are almost there. Because actionNameHere would be a paramter you could handle in your action with name "methodAction".

But I think you want your URL to look like: example. Com/module/controller/actionNameHere.

In order to produce the URLs needed, I ended up creating a custom Dispatcher, as it wasn't in the routing that URLs were being converted from actionNameHere to actionnamehereAction, but in the dispatcher. I extended the standard dispatcher and overrode this behaviour so that the action name in the URL remained case-sensitive.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions