Questions tagged [configuration]
Configuration is an arrangement of functional units according to their nature, number, and chief characteristics.
211 questions
5 votes
3 answers
570 views
How do I decide whether an option belongs in an environment variable, command-line option, or both?
I am working on an executable program - an application or utility. At some point, I want to introduce a new option (to be considered at run-time rather than build-time); the option may be boolean, ...
2 votes
3 answers
213 views
Handling user strategy choice over many strategy patterns
I’m building a framework with many parallel implementations of strategy patterns, and I want to know the best way to handle the user’s choice of the set of strategies. E.g. I want to calculate the ...
0 votes
2 answers
488 views
How to implement a server application that can reload configuration without restart
I have a game server implemented in Python to which clients can connect and play against each other. I'd like to be able to reload configuration from a config file without restarting the server (as ...
0 votes
1 answer
190 views
Feasibility of using different java version for different project with different compatibility properties
I have multiple Flutter Android app projects that have different compatibilities of Java. Now, what should I do if I am developing more than one project simultaneously? If the first one uses Java 17, ...
2 votes
2 answers
1k views
How can I manage validation logic for 150+ screens with unique business rules across microservices?
Currently, I'm working on an application with a microservice architecture. Each screen may corresponds to a separate microservice, and each screen has its own unique validation logic. Some screens ...
1 vote
5 answers
1k views
Should you test configuration?
There's a (mis)conception that you don't have to test configuration But what if your configuration is in the form of runnable code? What if it's not just static values? I wrote an abstraction for ...
5 votes
6 answers
1k views
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 ...
2 votes
1 answer
159 views
ASP.NET Core configuration system: Isn't the default configuration prone to naming conflicts in environment variables?
I'm trying to wrap my head around the ASP.NET Core Configuration system. If I understand the default configuration correctly, non-prefixed environment variables will override appsettings.json entries. ...
35 votes
7 answers
7k views
How can we avoid extremely complex configurations in enterprise software?
This is the situation that I've seen two times in a row already. A company makes software intended to be sold to other companies. So there will be relatively few clients, but each is an important one. ...
0 votes
1 answer
388 views
Effective way to develop software on two machines (PC and Laptop) [duplicate]
When writing code on a desktop pc as well as on a laptop or other computer, is there a general recommended strategy for being able to keep the same environments set up on both machines? I use Git ...
1 vote
2 answers
661 views
Where to put DLL specific settings?
I'm not sure how to manage configuration settings in a C#/.NET environment. For simplicity lets say I have 3 assemblies: My MainApplication is the project being started and containing the business ...
1 vote
2 answers
278 views
Infrequent config set up
There is a string field x, contains value a/b/c/d The order of a/b/c/d is changed infrequently , only once a year or several years. What is the best approach to store this config? Currently , it's ...
35 votes
6 answers
10k views
SQL as a means of avoiding "releases"
The system I'm working on started as a small training project within the company I work for but quickly caught interest from management as a means to help to standardize the existing excel-heavy ...
0 votes
1 answer
672 views
How to handle root paths in a custom package?
I am writing a custom python package, which produces some files in a certain directory. This directory I call root_path and should be set by the user. So basically, it should be a conf variable but ...
18 votes
5 answers
4k views
What Semantic Version increment to use for a filename change?
I have a program that runs on command-line, let's call it myprogram 1.0.1. It's published on GitHub. Now I discovered that name already exist for a well-know software, so I want to change the name ...