Ferreteria/v0.41/odata

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria
Revision as of 15:57, 16 January 2020 by Woozle (talk | contribs)
Jump to: navigation, search

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

Concepts

Node

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

Leaf

Every leaf:

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

Leaf Type