How to create a custom router in Zend-Framework?
问题 I am using a custom Router to enable pages like: mytutorialsite.com/category/:categoryname # added to application.ini resources.router.routes.categorynameOnCategory.route = /category/:categoryname resources.router.routes.categorynameOnCategory.defaults.module = default resources.router.routes.categorynameOnCategory.defaults.controller = category resources.router.routes.categorynameOnCategory.defaults.action = categoryname I also have database table 'categories' in which all categories are