[eluser]Unknown[/eluser]
Hello peeps.
I'm pretty new to CI and to PHP generally and I'm going through a pretty steep learning curve.
I've hit a bit of a snag with regards to URI routing and I was wondering of if anybody can help.
Is it possible to create dynamic routing rules based on database queries?
For example: If I have a tree structure of categories, that's likely to be changed through an administration system, can I examine the URI and redirect based on index of any matches?
The only solution I've thought of is to store the routing rules in a seperate config file and write to it when any changes are made to the database. I guess that's wouldn't be a bad solution as it's pretty much like caching results. I'd like to know if there's a way to do the routing on the fly though.
Thanks in advance for any help or suggestions.