Ok, i will write the routes into my database, it's not that difficult because
i will create the navigation with data from database ...

your regex passed the test ;) i just have to write all routes, following
this schema: /:category/:article .. that's not a so big problem.
For my config-files i'm actually writing a update-service.

Thanks for your help.
Kind regards, Dennis

Jack Sleight wrote:
> 
> 
>> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Building-a-CMS-with-ZendFramework---problems-at-startup-tp18144799p18200085.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to