Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Where should I have configuration information in a file or database

by Your Mother (Canon)
on May 29, 2009 at 16:19 UTC ( #766885=note: print w/ replies, xml ) Need Help??


in reply to Where should I have configuration information in a file or database

I prefer files for application/admin configuration and DB for any user controlled configuration (most of the time). Files are safer for an application because you aren't relying on (at least) two services (your app and the DB) to run your app. Configuring from files allows the application to run "normally" (in reduced service mode or something) even when the DB is unavailable. Of course files can become unwieldy so the DB is (like mentioned already) better for many other things (that will grow, require constant update, fit into a standard API, etc).


Comment on Re: Where should I have configuration information in a file or database

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://766885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-10-22 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls