-
Notifications
You must be signed in to change notification settings - Fork 0
Description
-
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)