|RE: [higgins-dev] Higgins data model|
On your question about attributes vs. relationships in the M4 goals… What’s driving things is a desire to consider the link between two objects to itself be an object (with properties). If these link properties are grouped together and “attached to” the link itself management of links is easier.
Imagine object A has a link to object B, and A also has a link to object C. And imagine that both links had a common property, “parentOf”. Using the proposed approach we simply attach the parentOf property to each link object. If we wish to delete a link, we delete the link and all of its associated properties at the same time. If, on the other hand, we flatten the properties onto A, then we’d need to somehow index the two parentOf properties (of A) in order to distinguish them. To me using the link object as the indexing mechanism is cleaner.