Difference between revisions of "Ferreteria/v0.3/class"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
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 tDataSource
+
** 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 - cFieldRow
  • handle multiple rows
    • sequential - tSequentialAccess
      • status (how many rows found)
      • position row cursor
      • access current row
      • end-of-rowset flag
    • indexed

Database sources:

  • manage what's in the source (selected, sequential access)

Currently, Table (Source) objects define:

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)

Root Classes

Traits