Ferreteria/v0.5/portrow: Difference between revisions
< Ferreteria | v0.5
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision 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: | ||
Line 9: | Line 11: | ||
* '''[[/stor|Storage (stor)]]''', 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) | ||
* '''[[/disp|Display (disp)]]''', 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 | → |