asp mvc list ecommerce product with dynamically changing specifications

后端 未结 1 1687
执念已碎
执念已碎 2021-01-07 00:30

i am trying to develop product details page for eCommerce site, say we list some products in a view , now when users clicks in a product he is taken product details view to

相关标签:
1条回答
  • 2021-01-07 00:46

    EAV has several downsides:

    • The database layer can't force attribute names to be correct, so you have to do it in code
    • Search performance is slow if you're filtering on values in the EAV table
    • Performance is also slow if you try to join other tables based on the values in the EAV table

    But if you need a flexible and dynamic set of attributes and you don't need to search or join by the attribute values, EAV is a good solution.

    0 讨论(0)
提交回复
热议问题