Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [settings]

The tag has no usage guidance.

-2
votes
0answers
13 views

Design Patterns & Strategies for a code library with many combinations of settings? [duplicate]

I'm not exactly an engineer. Just a recent graduate of a software development program. However, I am aware of software design patterns, such as the singleton, factory,dependency injection, etc. I am ...
-2
votes
0answers
26 views

Saving and restoring control states to custom-named files in Visual Basic

In my application, I want to save input values (input box texts, drop-down menu values, checkbox statuses, etc.) to a configuration file, and restore it when application is restarted. The usual way to ...
-4
votes
1answer
58 views

Save settings per developer in Git

Persistence is an essential requirement for preferences. Developer's preferences are saved in .idea/ folder. It is recommended to add .idea/ to .gitignore to avoid merge conflicts. But then settings ...
1
vote
1answer
36 views

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-...
1
vote
1answer
34 views

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 ...
1
vote
2answers
121 views

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 ...
3
votes
3answers
2k views

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 ...
1
vote
1answer
358 views

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 ...
5
votes
1answer
1k views

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

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) ...
-2
votes
2answers
188 views

How are typical settings stored in a program? [closed]

Im going to make a program that build SQL like queries based on settings. Basically you have queries that are in an initial state and based on these settings the queries will at application start be ...
0
votes
1answer
83 views

Should I create a settings provider implementing an interface for each handler?

Let's say I got a series of services that are handled by a central hub, part of the behavior of the application is controlled by a series of settings that are stored on a file. Right now when I get a ...
1
vote
1answer
81 views

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 (*....
7
votes
2answers
146 views

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 ...
1
vote
0answers
159 views

How to turn off third party app store and side loading except my app store

I want to prevent installing apps using third party app stores but except only one app store. This specific app store is in my control. I can change it's code to send a message to the mobile device ...
0
votes
1answer
164 views

Best practice for settings for PHP class for code generation [closed]

I would like to have a class creating any code from given options and output it in a chosen way. I have written class for generation of simple JavaScript code for such cases where is needed to ...
3
votes
1answer
561 views

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 ...
5
votes
3answers
3k views

Saving to Registry vs. CustomFile [closed]

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, ...
0
votes
0answers
2k views

Java platform vs Source/Binary format settings in Netbeans

I've just wanted to get to know what these particular settings really do: Project Properties -> Libraries -> Java Platform Project Properties -> Sources -> Source/Binary Format After a little bit of ...
1
vote
2answers
4k views

When and how to apply application settings in .Net

I know that I can access application settings in .Net using Properties.Settings.Default.aSetting. What is the best way to apply them: To directly read them in the function which relies on them. This ...
0
votes
1answer
31 views

Is there a standard file for building a settings window?

I've made GUI settings windows for a lot of files, but it's always been the same way I make a regular GUI content window. I want to dynamically produce one that will be parseable to show standard GUI ...
0
votes
2answers
3k views

Flexible and easy to use settings class

I am thinking about a way to create a flexible "settings class" in C#. The question is: How to provide a confortable way to provide default values to the settings. I want the programmer to access the ...
-1
votes
2answers
125 views

Mac OS X preferences saving, when to apply/save changes made by user [closed]

It is typical for Mac OS X apps to have preferences that apply seamlessly, and preferences dialogs don't have "OK" or "Apply" button. I want to implement this behavior in my project, but I can't ...
0
votes
1answer
223 views

Storing a single read/writeable value for a web service

I'm writing a web service for some physical visualizations of data we are collecting and showing as part of a project we are running locally http://tenisonroad.com/ Some of the visualizations will be ...
-1
votes
1answer
79 views

Issue with My.Settings using Visual Basic [closed]

For my A2 Computing project I have created a game using Visual Basic. For the leaderboard section, I have used the My.Settings feature to store the scores when the game closes, but only one or two ...
1
vote
4answers
4k views

Implementing Settings/Preferences in JavaScript

I am making a simple web app mostly in JavaScript. I was wondering as to how do I deploy settings/preferences? Do I just store user preferences somewhere and make use of if...else... statements all ...