Category Model 1.5 #353
Unanswered
jbee
asked this question in
Specs & RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a "work in progress" design document to note down thoughts on how to change the category model so it becomes manageable again.
Observed Problems
Identified Causes
The main issue with the current model is that is is too flexible and allows reuse and duplication in places it should not.
This makes it necessary to run expensive queries to see if certain changes can be permitted.
Those queries don't scale confining the usage to small numbers of C in a CC, COs in a C and total COC in a CC.
The model needs to be changed so most of the queries become unnecessary because the situation is known by design.
That means uniqueness is enforced by design and removal can be done with a single
update ... where
and/ordelete ... where
clause without checking further implication because the scope by design can only be the one intended by the deletion operation.Design issues
Related Design Issues
Suggestions
Cleanup Chores
Transition
categorycombos_optioncombos
)categoryoptioncombo.attributeValues
(cost/benefit is super off)categoryoptioncombo.translations
(cost/benefit is super off)Beta Was this translation helpful? Give feedback.
All reactions