Site configurations in database?
View Single Post
12-15-2007, 10:54 AM
Join Date: Dec 2007
Location: Bucharest, Romania
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.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon