Ferreteria/v0.5/db

From Woozle Writes Code
< Ferreteria‎ | v0.5
Revision as of 14:17, 6 March 2022 by htyp>Woozle (Created page with "==Database system== The database subsystem is part of the {{l/same|data}} system. Database classes now operate as a kind of connector between {{l/same|PortBank}} Storage Row...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Database system

The database subsystem is part of the data system.

Database classes now operate as a kind of connector between PortBank Storage Row objects and PHP native database libraries. They now[1] know as little as possible about the nature of the data being handled, and are only concerned about the mechanics.

Creating a database requires a database spec (ferret\data\cDatabaseSpec descendant).

This section has just started being written.

Footnote

  1. Formerly, the Table, Rowset, and Record classes used multiple layers of specialization on down to handling of individual fields; see wooz:2021/12/17/The Great Data-Class Restacking.