I create a PHP / MySQL application and I allow users to create their own (as much as they want) profile data (i.e. they can add any amount of information to their profile with additional text fields, but there is a "CORE" set of user profile fields)
For example, they can create a new text box in the form and call it "my pet" and / or "my favorite color." We must store this data in a database and cannot explicitly create columns for each of our options, since we do not know what their additional information is before.
One way to think that we can store all the “extra information” they provide is to store the extra information in JSON form and store it in the MySQL text box (I like MySQL :))
I saw plugins for creating Wordpress forms where you can create your own fields, so I think they should store data in MySQL anyway, as NoSQL solutions go beyond the scope of these plugins.
I would like to stick with MySQL, but you guys think that NoSQL solutions like MongoDB / Redis will be better fixed, because for that?
thanks
source share