Ferreteria/v0.5/db: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(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...")
 
m (1 revision imported: moving this project here)
(No difference)

Revision as of 16:44, 22 May 2022

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.