Ferreteria/v0.4/frame
< Ferreteria | v0.4
Jump to navigation
Jump to search
A "frame" is basically a collection of objects, some of which may be creatable on demand. The concept was originally developed in order to solve the specific problem of needing to share information among certain data-class families:
- Rowsets need to have access to their parent Database and Table
- Records need to have access to their parent Database and Table and sometimes their source Rowset
At first, I thought it should follow the pattern of only being introduced to rows and rowsets at the point where they start to need the Database and Table, but then I realized that part of the point of using Frames is that you can have a uniform construction interface without necessarily including any objects at all.
The Frame concept was soon expanded to a subclass which includes Field Collective objects.