Ferreteria/v0.5/db

From Woozle Writes Code
< Ferreteria‎ | v0.5
Revision as of 16:44, 22 May 2022 by Woozle (talk | contribs) (1 revision imported: moving this project here)
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.