Ferreteria/v0.3

From Woozle Writes Code
< Ferreteria
Revision as of 11:40, 26 May 2017 by htyp>Woozle (Created page with "Things that need to be rewritten at a low level: * '''2017-05-26''' Conversion to/from storage format really ought to be a property of the recordset. Maybe there should be a f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Things that need to be rewritten at a low level:

  • 2017-05-26 Conversion to/from storage format really ought to be a property of the recordset. Maybe there should be a fcFields object with fcField elements, each of which can have one or more fcFormat objects attached to it. Then instead of $rc->GetFieldValue() we could have something like $rc->GetField()->GetValue(), $rc->GetField()->GetAsFormat('storage'), etc. Also we could hide $rc->Insert() again and bring at least one large chunk of Form->SaveRecord() back into the Record class. See fcForm_DB::SaveRecord();
    • This obviously suggests some changes to how Forms work as well.