Database driven routing in CodeIgniter 2.x
问题 I am creating a site that will have a lot of routes that will need to be added to the routes file (800+) - obviously I do not want to manually add these one by one into the routes config file. Can anyone suggest the best practice to have my routes loaded automatically from the database. Is there a suitable library/helper that will perform this task that works with version 2.x For instance.. $route['apple'] = 'brands/index'; $route['blackberry'] = 'brands/index'; $route['htc'] = 'brands/index'