View Single Post
Old 12-15-2007, 10:54 AM   #4 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

I'd say it depends on what exactly you need to store. Database settings, base paths and cookie settings go into config files, and base urls, theme directories, images dirs, site name, etc. go into the database (in my apps). You can't just store EVERYTHING in the database. Depends on what level of flexibility you need on an application. I used for a long time .php config files (and settings inside it were stored as a big array), but I consider moving to .ini files.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote