Ferreteria/v0.5/portrow: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
m (1 revision imported: moving this project here)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


Each '''PortRow''' object contains a set of '''{{l/ver|PortUnit}}''' objects corresponding to fields defined or discovered by the parent {{l/ver|PortBank}}.
Each '''PortRow''' object contains a set of '''{{l/ver|PortUnit}}''' objects corresponding to fields defined or discovered by the parent {{l/ver|PortBank}}.
PortRows emit '''{{l/ver|PortCard}}''' objects for handling most single-record operations.
==Types==
==Types==
There are three standard types of PortRow:
There are three standard types of PortRow:
* '''Native''', which is used only for internal calculations (no I/O)
* '''[[/calc|Native (calc)]]''', which is used only for internal calculations (no I/O)
* '''Storage''', which converts to and from SQL (or, in theory, any other database-storage format)
* '''[[/stor|Storage (stor)]]''', which converts to and from SQL (or, in theory, any other database-storage format)
* '''Display''', which converts to and from HTML (or, in theory, any other display markup)
* '''[[/disp|Display (disp)]]''', which converts to and from HTML (or, in theory, any other display markup)
==Classes==
{|
|-
| {{l/ver/class|ns=data|caPortRow}}
| →
| {{l/ver/class|ns=data|caPortRowInternal}}
| →
| {{l/ver/class|ns=data|caPortRowInternalDirect}}
| →
|
{{l/ver/class|ns=data/rows|cCalc}}<br>
{{l/ver/class|ns=data|caPortIORow}}
|}

Latest revision as of 12:52, 4 April 2023

Navigation: PortBank : PortRow

About

Each PortRow object belongs to a PortBank object.

Each PortRow object contains a set of PortUnit objects corresponding to fields defined or discovered by the parent PortBank.

PortRows emit PortCard objects for handling most single-record operations.

Types

There are three standard types of PortRow:

  • Native (calc), which is used only for internal calculations (no I/O)
  • Storage (stor), which converts to and from SQL (or, in theory, any other database-storage format)
  • Display (disp), which converts to and from HTML (or, in theory, any other display markup)

Classes

caPortRow caPortRowInternal caPortRowInternalDirect

cCalc
caPortIORow