July 2019
Intermediate to advanced
502 pages
14h
English
Configuration files are particularly useful when you have a lot of configuration data, especially when that data has a hierarchical structure. In most cases, it would be too overwhelming to configure an application with tens or even hundreds of options via command-line arguments or environment variables. Configuration files have another advantage, which is that you can chain multiple configuration files. Often, applications have a search path where they look for configuration files, such as /etc/conf, and then the home directory and then the current directory. This provides a lot of flexibility since you have common configuration while you're also able to override some parts per user or per run.
Configuration files are ...