Questions tagged [configuration]

Configuration is an arrangement of functional units according to their nature, number, and chief characteristics.

Taken from Wikipedia.

In communications or computer systems, a configuration is an arrangement of functional units according to their nature, number, and chief characteristics. Often, configuration pertains to the choice of hardware, software, firmware, and documentation. The configuration affects system function and performance.

205 questions
55
votes
9 answers

Is a single config object a bad idea?

In most of my applications, I have a singleton or static "config" object, in charge of reading various settings from disk. Almost all classes use it, for various purposes. Essentially it's just a hash table of name/value pairs. It's read-only, so I…
JW01
  • 1,011
24
votes
6 answers

When to use Constants vs. Config Files to maintain Configuration

I often fight with myself on whether to put certain keys in my web.config or in a Constants.cs class or something like this. For example if I wanted to store application specific keys for whatever the case may be..I could store it and grab it from…
WeDoTDD.com
  • 507
  • 1
  • 4
  • 12
5
votes
6 answers

What are the benefits of configuration languages over just using the source language?

TL;DR why do people pick YAML/JSON/ini/TOML/XML/plain text to configure applications/packages instead of having the configuration be defined in source files the application/package is written in? I mean, I can see some obvious reasons that pertain…
Jared Smith
  • 1,839
0
votes
4 answers

app.config prevent end users from modifying it

On our product there are many config files (we have many processes) For "logicical" configuration, we store all configuration in a document based database and then distribute the configuration to different component upon configuration change. But,…
ilansch
  • 101
  • 3
0
votes
1 answer

Configuration file for a generic log file parser

Our company uses multiple log file formats. We would like to develop a series of tools to parse them, often the same core functionality for multiple log file formats. A classical example is generating Message Sequence Charts from the log files…