Ferreteria/v0.5/db: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
m (1 revision imported: moving this project here)
No edit summary
 
Line 2: Line 2:
The database subsystem is part of the {{l/same|data}} 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 objects and PHP native database libraries. They now<ref>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]].</ref> know as little as possible about the nature of the data being handled, and are only concerned about the mechanics.
Database classes now operate as a kind of connector between {{l/same|PortBank}} Storage Row objects and PHP native database libraries. They now<ref>Formerly, the Table, Rowset, and Record classes used multiple layers of specialization on down to handling of individual fields; see [[2021/12/17/The Great Data-Class Restacking]].</ref> 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 (<code>ferret\data\cDatabaseSpec</code> descendant).
Creating a database requires a database spec (<code>ferret\data\cDatabaseSpec</code> descendant).


''This section has just started being written.''
''This section needs much more writing.''
==Footnote==
==Footnote==
<references />
<references />

Latest revision as of 17:49, 16 February 2023

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 needs much more writing.

Footnote

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