Ferreteria/v0.42/odata: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "==Pages== * '''concepts''': ** {{l/sub|node}} - pseudo-record identity ** {{l/sub|leaf}} - field within a pseudo-record * '''tables''': ** {{l/version|sql|node}}: core pseudor...")
 
No edit summary
Line 1: Line 1:
==About==
This system is experimental, and replaces/updates the old [[Ferreteria/modules/content|content system]] (which was really part of 0.2 or 0.3). It's a simplification of [[Ferreteria/v0.41/odata|v0.42]], which was designed as far as schema and some code but ran into coding difficulties when trying to use the system for event logging. The problems were solvable, but a simpler design seemed like it would represent much less technical debt.
Each node represents the core of a pseudo-record, which can have an arbitrary set of fields (leafs). Each leaf (field within a p-record) must have a unique name.
There is a registry, maintained by code, of pseudorecord types (node.Type). This is so the code can look up the proper class to use for handling each node (pseudorecord). It remains to be seen if this part works as envisioned.
==Pages==
==Pages==
* '''concepts''':
* '''concepts''':

Revision as of 01:32, 24 January 2020

About

This system is experimental, and replaces/updates the old content system (which was really part of 0.2 or 0.3). It's a simplification of v0.42, which was designed as far as schema and some code but ran into coding difficulties when trying to use the system for event logging. The problems were solvable, but a simpler design seemed like it would represent much less technical debt.

Each node represents the core of a pseudo-record, which can have an arbitrary set of fields (leafs). Each leaf (field within a p-record) must have a unique name.

There is a registry, maintained by code, of pseudorecord types (node.Type). This is so the code can look up the proper class to use for handling each node (pseudorecord). It remains to be seen if this part works as envisioned.

Pages