I am creating a small cms system in MVC.NET and I have some editable variables for storage. Footer information, website name, etc. These are global variables, so they should be declared only once. They should be editable in cms.
Where can I store them? Isn't it so stupid to create a table for them, there they occupy only one record per variable, and the variable keys must be fixed because they are used in the code.
Thanks for every reply.
Grtz
I would say that the database table is the best.
, , , , , . SQL, MS-SQL. CMS . , .
?
, , , Resx, Culture (Multilanguage!)
, , , .
.
Source: https://habr.com/ru/post/1755500/More articles:How to handle the encoding request correctly? - httpSession state in network load balancing scenario - databaseDoes the LoadBitMap () API create paint problems? - c ++D2010 TPanel / TFrame / TGroupBox / Other - What is the easiest? - delphiAvailable Django Application Lists? - djangoRegular expression allows you to parse strings? If so, how? - c #How can I find which getters properties have side effects using NDepend? - immutabilityHybrid Inheritance Example - c ++acceleration jasperreports - javaTimer interrupt for pthreads - c ++All Articles