Ferreteria/v0.41/odata: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
==Concepts== | ==Concepts== | ||
===Node=== | |||
* '''table''': {{l/version|sql|node}} | |||
Every '''node''' | Every '''node''' | ||
* is a record in the node table | * is a record in the node table | ||
Line 8: | Line 11: | ||
* can have a (node) '''type''' which points to a handler-class | * 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 | ** so that when we're looking at a group of unspecified nodes, we know how to handle each one | ||
===Leaf=== | |||
Every '''leaf''': | Every '''leaf''': | ||
* has | * has | ||
Line 15: | Line 18: | ||
** a value | ** a value | ||
* is like a single field in a single record | * is like a single field in a single record | ||
===Leaf Type=== |
Revision as of 15:57, 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
Node
- table: Template:L/version
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