Questions tagged [settings]

30 questions
10
votes
1 answer

Options vs Preferences vs Settings? What do they mean, and for what should I use them?

Across the various different programs, you will most often have a menu item called: Preferences Firefox Chrome Gedit Synaptic (Under a Settings menu column) Hexchat (Under a Settings menu column) Gnome-Terminal Thunderbird Rhythmbox Less…
Anon
  • 3,565
  • 3
  • 27
  • 45
8
votes
2 answers

Should appsettings.Development.json be added to the repository?

Lately I got in a discussion with my colleague whether the appsettings.Development.json should be added to the git repository or not. My considerations are: when a developer clones a repository to his development machine and builds the application,…
Frits
  • 390
  • 2
  • 8
7
votes
2 answers

Is there a practical reason not to use a .NET "setting" to store data that is not a setting?

.NET applications developed using Visual Studio have an easy way to store and recover user settings. You can add the default value of a setting in a special class and have read/write access to it at run time through…
George T
  • 295
  • 1
  • 6
6
votes
3 answers

Saving to Registry vs. CustomFile

I've been using the usual My.Settings... method when it came to saving settings for my program but I was just wondering, If I wanted to save program settings into the Registry and load those settings, are there any benefits when comparing with…
Zer0
  • 185
  • 1
  • 5
5
votes
3 answers

Storing settings in a table in my SQLite database or separately?

I'm building an application which uses SQLite, and now want to add settings that are stored between sessions I'm considering if I'm going to store the settings in a config file or if I'm going to use a table in the database for this (Please note…
sunyata
  • 449
  • 5
  • 16
5
votes
1 answer

How to best model an application's settings?

My application has a configuration file and a "Settings" window. When the user confirms the changes in this window they are applied and written to the config file. These settings are often changed and referenced throughout my program. I'm trying to…
DBedrenko
  • 541
  • 5
  • 11
3
votes
2 answers

Best practices for testing settings file with many parameters in simulation code

I'm conflicted as to what is the best way to approach this problem. I am writing a simulation in Python, which is parametrized by ~ 50 parameters. I have a JSON file where these parameters are set, so that it is simple to modify them and perform…
jfaccioni
  • 496
  • 2
  • 8
3
votes
2 answers

Best practices for remotely resetting a mobile app's content/settings

What would be the best approach to resetting a mobile app's content/settings? Let's say the app is cross platform: iOS/android using javascript/phonegap. The current way this is designed is to have an admin area that can see mobile devices (users…
coder
  • 2,029
  • 2
  • 15
  • 15
2
votes
3 answers

Does continous delivery reduce the need to make settings configurable?

I mainly work on custom web applications that have just one production deployment. While we are moving to continuous delivery, I was wondering if that approach reduces the need to make settings configurable. For example, I was writing code that…
R. Schreurs
  • 131
  • 4
1
vote
1 answer

Saving flags in the database without relationships to other tables

I have an admin panel which can set a lot of options which will affect some other services drastically. For example I got one that if I create a different category I can just insert it in the Category table and then the front-end will be able to…
DarkZ
  • 193
  • 1
  • 5
1
vote
1 answer

Can I use UML use cases to model settings?

Is correct to represent setting options using use cases? For example the user can: - enable background updates - change map color - change interval updates From https://www.uml-diagrams.org/use-case.html A use case is a kind of behaviored…
Maicake
  • 225
  • 2
  • 7
1
vote
1 answer

how to maintain settings across different repositories

So I have .eslint and .settings (VSCode) files that I would like to be consistent across projects. How would I do this? Currently, I am thinking that I should put them into a repository, which then I would instantiate as a submodule in new projects,…
A. L
  • 217
  • 1
  • 4
  • 10
1
vote
2 answers

Best approach to persist settings in files

I am in the process of migrating the way an app makes persistence of its settings. It wrote and read data from registry; now it is desired it load/save XML files on the C:\AppData\MyApp\Version folder for several reasons. It had lots of folders on…
sergiol
  • 157
  • 1
  • 6
1
vote
1 answer

How should I load and change settings?

Please forgive me if my thought process is incorrect. I'm only a programmer in my spare time, with no formal training. I'm using VB.net to create a very basic application, but some settings need to be read on startup. So my theory is that in the…
Canadian Luke
  • 327
  • 2
  • 15
1
vote
1 answer

Why store app configuration in a data file instead of code esp. when using Continuous Integration?

Consider the following CI procedure is in place: Builds are only deployed (semi-)automatically. All changes are version-controlled. Configuration is fixed per environment. Why use data files (*.config in .NET) versus code for configuration? Yes,…
Den
  • 4,827
  • 2
  • 32
  • 48
1
2