The 'route' you specify can be anything you want. If Zend Framework matches it, it will execute the route based on the defaults set below resources.router.routes.products. Regex = "somethingawesome/(.*)" resources.router.routes.products.defaults" rel="nofollow">resources.router.routes.products.defaults.
Module = "ModuleName" resources.router.routes.products.defaults" rel="nofollow">resources.router.routes.products.defaults. Controller = "awesome" resources.router.routes.products.defaults" rel="nofollow">resources.router.routes.products.defaults. Action = "cool The above 'route' uses the regex match for - mysite.Com/somethingawesome/whatever and will route it to the module: ModuleName, controller AwesomeController.
Php and run the coolAction() There are lots of other matches you can do within this regex, but the string 'somethingawesome' is entirely up to you. It's all about what you want to match in the URL and where you want to send it to.
The 'route' you specify can be anything you want. If Zend Framework matches it, it will execute the route based on the defaults set below. Resources.router.routes.products.
Regex = "somethingawesome/(.*)" resources.router.routes.products.defaults" rel="nofollow">resources.router.routes.products.defaults. Module = "ModuleName" resources.router.routes.products.defaults" rel="nofollow">resources.router.routes.products.defaults. Controller = "awesome" resources.router.routes.products.defaults" rel="nofollow">resources.router.routes.products.defaults.
Action = "cool" The above 'route' uses the regex match for - mysite. Com/somethingawesome/whatever and will route it to the module: ModuleName, controller AwesomeController. Php and run the coolAction() There are lots of other matches you can do within this regex, but the string 'somethingawesome' is entirely up to you.It's all about what you want to match in the URL and where you want to send it to.
I am using it, but in most of the modules, the routes starts with module name. Somethingawesome = module name. So I was looking for a way that I just enter the route after the slash after "somethingawesome" and the application automatically prepend the module name(somethingawesome).
Lets say my module name is realestate, and I want to route realestate/(.*) to module=>realestate, controller=>index, action=>index and getting (.*) value using getParam. I only want to add /(.*) into the route config, so if later I rename the module into "commercial" I don't ve to change all the routes. – Bryan Nov 23 '10 at 16:18 If you want "/realestate" to go to a module called "somethingelse" then you just change it in the '.
Module' configuration line. The route regex set for "/realestate" wouldn't have to change at all. If you want "/realestate" to be "/" and go to "somethingelse" change both lines.
I think you might also need to disable the default routes if you want "/realestate" to stop working when it is configured as just "/". – Darryl E. Clarke Nov 23 '10 at 16:35 Now that I think about it a route of "/(.*)" will intercept everything and all other modules/routes will not work.
Just a heads up. – Darryl E. Clarke Nov 23 '10 at 16:41.
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.