Creative and energetic Software Engineer with 3 years of experience full of challenges, difficulties, and achievements. Love learning new things and teaching others and developing software.
Thank you so much for your positive feedback and insightful suggestions! I'm thrilled to hear that you found the article interesting.
You have a good point about the product_id redundancy, and I will updated the structure with this optimization.
Regarding the storage of the total directly in the cart table, I appreciate your concern about redundancy and potential data integrity issues and instead of that we can calculate the total dynamically when needed, and actually I donβt know much about the event-driven mechanism and will lock into that. Thanks Adhiraj!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you so much for your positive feedback and insightful suggestions! I'm thrilled to hear that you found the article interesting.
You have a good point about the
product_idredundancy, and I will updated the structure with this optimization.Regarding the storage of the total directly in the cart table, I appreciate your concern about redundancy and potential data integrity issues and instead of that we can calculate the total dynamically when needed, and actually I donβt know much about the event-driven mechanism and will lock into that. Thanks Adhiraj!