samedi 24 février 2018

How to Store or Structure Configuration Data into MySQL - Php, MySQL

I have a project in which I would like to store data which has nothing to do with application business logic (nor have anything to do with table relationships such as: 1 to many, many to many, 1 to 1 and so on) but instead it is more of an Application settings.

Things like:

Color of the Text,
Email addresses,
Logo,
Some title text,
few checkboxes, 
few radio buttons. 

I want to allow admin to change this settings. But, I am not sure how to dump all this information inside mysql without creating several tables. I think this is a normal thing required in most of the applications.

What is the best approach to save such settings? MySQL is what I think. But feel free to enlighten me with better method.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire