Database or configuration file?

  • Thread starter Thread starter Serge Calderara
  • Start date Start date
S

Serge Calderara

Dear all,

I am building an application whcihc requires different set
of parametes in order to work and get configured
correctly. Those configuration parameters can be global to
all modules of that application or can be module dependant.

A kind of configuration could be a list of authorised user
that can access to different part of the application,
which mean that is is like a kind of indivudual user
profiles with all seetings and user right access.

At first I was thinking of a configuration database for
all of my components, but now I am hesisate between that
solution and individula configuration files.

Which solution will you choos for helping me?

thanks for your commnents
 
If these values are fairly static and won't be updated from by your program
then a configuration file is probably best.
Otherwise a database is a good choice.
 
Back
Top