Releases: rotexsoft/gdao
First Release Candidate
This package seems to be good to go. Tests have been written and are passing. Package is robust enough to be a solid base for the implementation of a light-weight Table Data Gateway and Data Mapper Orm (that performs data manipulation tasks. Database schema definition tasks like creation of tables etc. are not specified for implementation by Implementers of this package).
Features in Future Releases
-
The concept of a DisconnectedRecordInterface and a DisconnectedCollectionInterface that will be similar to the existing RecordInterface and a CollectionInterface but without the need / reference to a Model object (these new interfaces will not contain methods that perform database operations such as save, delete, etc.). Instances of DisconnectedRecordInterface and DisconnectedCollectionInterface will exist without any reference to a Model object. They could be used with non-sql data sources.
A good approach will be to define methods common to DisconnectedRecordInterface and RecordInterface inside of DisconnectedRecordInterface and make RecordInterface extend DisconnectedRecordInterface (in this case RecordInterface will only contain additional method signatures that require a Model object and / or perform operations on the database)