Ferreteria/v0.3/class: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
m (20 revisions imported: moving this project here)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Lists==
{| align=right
* [[Special:SearchByProperty/cl:OnRoaW5nLTIwdHlwZS9jbGFzcy0yRmZlcnJldGVyaWE|alphabetical list of classes]]
|-
==Data==
|
===All Classes===
{{#ask: [[thing type::Ferreteria/class]]
[[version::v3]]
|format=broadtable
|limit=50
|offset=0
|link=all
|sort=
|order=asc
|headers=show
|searchlabel=... further results
|class=sortable wikitable smwtable
}}
|}
===Root Classes===
* {{l/version|class|cIOSource}} (TODO: rename to cDataSource)
* {{l/version|class|cFieldRow}}
* {{l/version|class|cPortalRow}}
===Notes===
Things in need of re-examination:
* interface ifSingleKeyedRow
 
* Standard storage-PortalRow class expects the Table to have the table name (via {{l/ferreteria/class|tTableSource}}, but other constructions are possible.
 
''rearrangement in progress''
''rearrangement in progress''


Core functionality:
Core functionality:
* handle current row - {{l/ferreteria/class|cFieldRow}}
* handle current row - {{l/version|class|cFieldRow}}
* handle multiple rows
* handle multiple rows
** sequential - {{l/ferreteria/class|tSequentialAccess}}
** sequential - {{l/version|class|tSequentialAccess}}
*** status (how many rows found)
*** status (how many rows found)
*** position row cursor
*** position row cursor
Line 18: Line 42:


Currently, Table (Source) objects define:
Currently, Table (Source) objects define:
* name of single-row class ({{l/ferreteria/class|cIOSource}})
* name of single-row class ({{l/version|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 or other SQL to access it ({{l/version|class|tQueryableSource}})
** 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:
* data that has been loaded into a black-box "resource" rowset, and can be accessed sequentially
* 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)
* data that is being stored in memory, and can be accessed by index (core functionality)
===Root Classes===
* {{l/ferreteria/class|cIOSource}}
* {{l/ferreteria/class|cFieldRow}}
* {{l/ferreteria/class|cPortalRow}}
===Traits===
* <s>{{l/ferreteria/class|tFieldClasses}}</s>
* {{l/ferreteria/class|tInternalStorage}}
* {{l/ferreteria/class|tQueryableSource}}
* <s>{{l/ferreteria/class|tSelectable_Source}}</s>
* {{l/ferreteria/class|tSequentialAccess}}
* <s>{{l/ferreteria/class|tSource_SingleKeyed}}</s>
* {{l/ferreteria/class|tSourcedStorage}}
* {{l/ferreteria/class|tTableSource}}

Latest revision as of 16:42, 22 May 2022

All Classes

{{#ask: thing type::Ferreteria/class version::v3

format=broadtable limit=50 offset=0 link=all sort= order=asc headers=show searchlabel=... further results class=sortable wikitable smwtable

}}

Root Classes

Notes

Things in need of re-examination:

  • interface ifSingleKeyedRow
  • Standard storage-PortalRow class expects the Table to have the table name (via Template:L/ferreteria/class, but other constructions are possible.

rearrangement in progress

Core functionality:

  • handle current row - Template:L/version
  • handle multiple rows
    • sequential - Template:L/version
      • 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)