I am in the process of designing a database for a new PHP/MySql-based application.
My problem is that I do not and cannot represent what should be saved in the database because it is unlimited and changing.
Here is the problem example:
The application will be a shopping website that has many kind of products all of them have some shared attributes such as title
and price
but some kinds have specific details such as expiry date
some have isbn
some non.
This is just an example but I really have many kinds with many different attributes.
I can create a table for each kinds, but what I have is not all the available kinds, many kinds of items are unknown at this time.
Is their a way to accommodate this problem without over head in the user's side?
Books
,Music
, etc), and EAV for the rarer data attributes.