Ways to implement tags - pros and cons of each

后端 未结 5 1674
野趣味
野趣味 2021-01-30 05:33

Related

Using SO as an example, what is the most sensible way to manage tags if you anticipate they will change often?

Way 1: Seriously denormalized (comma delim

5条回答
  •  别那么骄傲
    2021-01-30 06:12

    I think that SO uses solution #1. I'd go with either #1 or #3.

    One thing to consider is if you have several thing that you can tag (e.g. adding tags to both post and products, for example). This may affect database solution.

提交回复
热议问题