Ferreteria/v0.3/class: Difference between revisions
< Ferreteria | v0.3
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
* name of single-row class ({{l/ferreteria/class|cIOSource}}) | * name of single-row class ({{l/ferreteria/class|cIOSource}}) | ||
* name of database table ({{l/ferreteria/class|cIOSource_standard_table}}) or other SQL to access it ({{l/ferreteria/class|tSelectable_Source}}) | * name of database table ({{l/ferreteria/class|cIOSource_standard_table}}) or other SQL to access it ({{l/ferreteria/class|tSelectable_Source}}) | ||
** tSelectable_Source might be replaced by | ** tSelectable_Source might be replaced by '''tQueryableSource''' | ||
There are two types of accessible data, when dealing with databases: | There are two types of accessible data, when dealing with databases: | ||
Line 31: | Line 31: | ||
* {{l/ferreteria/class|cPortalRow}} | * {{l/ferreteria/class|cPortalRow}} | ||
===Traits=== | ===Traits=== | ||
* {{l/ferreteria/class|tFieldClasses}} | * <s>{{l/ferreteria/class|tFieldClasses}}</s> | ||
* {{l/ferreteria/class|tInternalStorage}} | * {{l/ferreteria/class|tInternalStorage}} | ||
* {{l/ferreteria/class|tSelectable_Source}} | * {{l/ferreteria/class|tQueryableSource}} | ||
* <s>{{l/ferreteria/class|tSelectable_Source}}</s> | |||
* {{l/ferreteria/class|tSequentialAccess}} | * {{l/ferreteria/class|tSequentialAccess}} | ||
* {{l/ferreteria/class|tSource_SingleKeyed}} | * <s>{{l/ferreteria/class|tSource_SingleKeyed}}</s> | ||
* {{l/ferreteria/class|tSourcedStorage}} | * {{l/ferreteria/class|tSourcedStorage}} | ||
* {{l/ferreteria/class|tTableSource}} |
Revision as of 10:59, 31 December 2018
Lists
Data
rearrangement in progress
Core functionality:
- handle current row - Template:L/ferreteria/class
- handle multiple rows
- sequential - Template:L/ferreteria/class
- status (how many rows found)
- position row cursor
- access current row
- end-of-rowset flag
- indexed
- sequential - Template:L/ferreteria/class
Database sources:
- manage what's in the source (selected, sequential access)
Currently, Table (Source) objects define:
- name of single-row class (Template:L/ferreteria/class)
- name of database table (Template:L/ferreteria/class) or other SQL to access it (Template:L/ferreteria/class)
- tSelectable_Source might be replaced by tQueryableSource
There are two types of accessible data, when dealing with databases:
- data that has been loaded into a black-box "resource" rowset, and can be accessed sequentially
- data that is being stored in memory, and can be accessed by index (core functionality)