In the last post we looked at entity manipulations. Now let’s look at the next row in the Six Hats Six Coats Framework:
Relationships are all about communication and are subject to the same manipulations as a communication link. We also established earlier that there are six relationship types:
So how do we manipulate these relationships?
The first relationship manipulation is the SELECT:
The SELECT manipulation “snoops” or “eavesdrops” on the relationship between two instances. The relationship is untouched.
The second manipulation is the INSERT:
The INSERT manipulation “throws” or “interjects” into the relationship between two instances. Extra data is added to the relationship, but the original is untouched.
Next is the UPDATE manipulation:
The UPDATE manipulation “spoofs” or “imitates” the relationship between two instances. The original data is changed in value.
Finally we have the DELETE manipulation:
The DELETE manipulation “crashes” or “denies service” between two instances. The original data is completely corrupted or the relationship broken.
And there you have relationship manipulation in a nutshell.