Answer the question
In order to leave comments, you need to log in
How to properly organize the storage of products for the bulletin board?
Good day. There is a task to make a bulletin board.
There are categories:
Answer the question
In order to leave comments, you need to log in
There are categories, there is a table with all characteristics, where each characteristic has a parent category ID.
Implementation options are simply innumerable, they all have their pros and cons, depending on what and with what you will combine. Of course, the worst option is one table with all the properties, you need to look towards solutions with maximum normalization (see the material on normal forms of the database), and having created a schema with a normal form, denormalize in the right places necessary for any special functionality .
Simply put - (almost) all ad properties should be stored separately from the ad entries, and linked through an intermediate table by keys. the same applies to user properties.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question