I didn't mean, if it's possible to get the routes from config files, i meant
that the config file should be written by a script, e.g. a config file
already exist then you change something via browser-'admin-area', the
changes should directly be written to ini-file, alright i could implent a
script myself, but the framework is so comfortable ;) that there has to be a
method which give me exactly this possibility :D
Ah I see, well, there's nothing built in to ZF that'll automatically update a config file based on your input, you would have to write your own script to update the config when a new article is added. I guess the easiest format for doing that would be XML. However, if all the data you need to configure the routes already exists in the database, then I'd just do it directly from the DB during bootstrap; either way you've got to write some sort of script, so you may as well keep it as simple as possible. But with the flexibility of regex routes, you should be able to do it all dynamically anyway.
--
Jack

Reply via email to