Ferreteria/v0.41/odata: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "This system is experimental, and replaces/updates the old content system (which was really part of 0.2 or 0.3). ==Concepts== Every '''node''' *...")
 
mNo edit summary
Line 4: Line 4:
Every '''node'''
Every '''node'''
* is a record in the node table
* is a record in the node table
* can have zero or more '''leaf''s
* can have zero or more '''leaf'''s
** There's generally no point to having zero, but no reason to forbid it.
** 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
* can have a (node) '''type''' which points to a handler-class

Revision as of 15:35, 16 January 2020

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