26 lines
936 B
Markdown
Raw Normal View History

2019-02-08 10:51:14 +01:00
# Source
2019-02-08 10:59:27 +01:00
Sources are the core component of infinito.
2019-02-08 10:51:14 +01:00
## Purpose
The whole domain logic just processes sources. This allows a high layer of abstraction.
### Functions
- Heritage values from other sources
- Connect data of APIS, executable, and static documents
- High scalability of rights
- Versioning of every state of a source
2019-02-08 10:59:27 +01:00
- Process different kinds of types through a identical core of domain logic
2019-02-08 10:51:14 +01:00
- Easy to modify and to expand
## UML
The following UML shows the context of source entities.
![Entity UML](../.meta/uml.svg)
2019-02-08 10:51:14 +01:00
## Types
### Primitive
2019-02-08 10:59:27 +01:00
Just contain out of one [MySQL native data type](https://dev.mysql.com/doc/refman/8.0/en/data-types.html).
2019-02-08 10:51:14 +01:00
### Complex
Contain out of other sources. E.g. primitives and executables.
#### Executable
Process information. They have a seperat class with logic, which is automaticly loaded and processed by the domain logic.
##### API
API sources adapt CRUD actions to other services.