Ferreteria/v0.5/node: Difference between revisions
< Ferreteria | v0.5
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
** {{l/ferreteria/code|data/node/cards.php}} - not yet used | ** {{l/ferreteria/code|data/node/cards.php}} - not yet used | ||
==Tables== | ==Tables== | ||
* {{l/ver | * {{l/ver/sql|node}}: the only table |
Latest revision as of 21:18, 12 December 2022
About
The nodes subsystem stores arbitrary hierarchical data within a standard relational database.
The current proof-of-concept implementation stores all data using only one table, but this can easily be optimized for other purposes, split into multiple tables for different types of information (e.g. one table for event logs and another for user content), etc. The mechanics of how the data is stored are fully encapsulated within the class structure, so users of this system do not need to be aware of the implementation details.
Files
- data/node
- data/node/feature.php - main API
- data/node/row.stor.php - handles all the DB details
- data/node/cards.php - not yet used
Tables
- node: the only table