Ferreteria/v0.41/odata

From Woozle Writes Code
< Ferreteria
Revision as of 15:35, 16 January 2020 by htyp>Woozle
Jump to navigation Jump to search

This system is experimental, and replaces/updates the old content system (which was really part of 0.2 or 0.3).

Concepts

Every node

  • is a record in the node table
  • can have zero or more leafs
    • There's generally no point to having zero, but no reason to forbid it.
  • can have a (node) type which points to a handler-class
    • so that when we're looking at a group of unspecified nodes, we know how to handle each one

Every leaf:

  • has
    • a data type
    • a name (unique within the node)
    • a value
  • is like a single field in a single record