Where to store the static list of values?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
14 views
There is a list of values of the form "key" = "value".
These values are used as options forms when you create database objects,
as filters for samples, etc.

Where it pays to keep such things? the database table? Config? Collection?
by | 14 views

2 Answers

0 like 0 dislike
all 3 options are good.
by
0 like 0 dislike
DB is good because it can be made more generic and extensible (change user, etc.)
But if the project in General these values will not change, then the configuration is perfect
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
0 comments
40,796 users