Business Tier
The business tier consists of domain (business) objects and service objects. The domain objects represent business entities, like customers, products, orders. It is recommended that the business logic specific to an entity to be put inside that entity. The services implement actions on collections of business objects, or actions that don't belong to a specific entity.
TODO: Create graphics.
miDomainObject is the interface which every domain object that can be persisted implements. A standard implementation is miDefaultDomainObject.
The default domain object contains a reference to miSqlRecord, and it uses it to persist its state to the database.
When used with miDataManager the actual flow of data when updating/inserting a record is:
Action -> Model -> Model Strategy -> Domain Object -> Sql Record -> Database
or the other way around when reading.