I am creating a small CMS system in MVC.NET, and I have some editable variables Footer, website title etc. These are global variables, so they should be declared only once. It should be editable in CMS.
Where can I store them? Is not it a little stupid to create a table for them, they only capture at a record per variable, and they should be fixed to the variable key because they are used in the code.
Every answer
Greater
I would say that one database is the best in the table.
This data will be editable because there is a good chance that you will need a lot of meta information, edits, editions, locked for the last changed date. If you use MS-SQL, it is easy to add SQL Cache dependency. It will be part of the CMS data and can be backed up in one place. This is usually safer than editing the config file.
Comments
Post a Comment