New Flexinode Entity relation diagram
This is the entity relation diagram, first sketchy Draft.
- Node A simplified node object. Should not contain stuff like titles and/or hardcoded bodies, etc.
- Node types Describe each node, basically a JOIN table between fieldinstances and nodes_
- Node field instance the field as attached to a node type. So this is a specific field in a specific node.
- Field types. All fields sit in a library. CCK calls this widgets
- Field type form elements. A JOIN table linking a PHP-formAPI-form-type to the fieldtypes_
Form elements is not a database table, it is a php-coded-array form ‘entity’!
Display profiles. the V part in the MVC Example: user_field can be displayed as “link to user profile”, or “plain user name”, or “substr-ed username”. The display profiles handle this. this table describes what PHP handler should handle the display of the entry.
- Node characteristics. JOIN table to link the nodetype to the handler of that node. Currently exists in PHP only as hooknodeinfo()_
Note that this ERD is not describing database tables per-se. Some entities could even exist as PHP.
Disclaimer: I am clueless when it comes to ERD stuff, I don’t know the app to draw them well either. It is probably all wrong, and I probably use the wrong elements and diagram parts. But I hope the idea is somehow clear.

| Attachment | Size |
|---|---|
| flexinode_entity_relations.png | 25.9 KB |
| node_fields_erd.xmi | 33.08 KB |
| node_fields_erd.svg | 17.98 KB |
| node_fields_erd.png | 27.02 KB |

Post new comment