Skip to content

Component ModelΒΆ

Every Datacore Module contains the following components:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
@startuml

package "Datacore Modul" {
    [Controller] - [Service]
    folder "Persistence Layer" {
        [Service] - [Entity Service]
        [Entity Service] - [Entity]
    }
}

[Controller] ..> HTTP : REST API
note right of HTTP : Expose Web Service only

database "MySQL" {
    folder "Schema" {
        [Tables]
    }
}

[Entity] ..> [Tables]

@enduml

The modules can be combined, where the Basic Module is mandatory to guarantee the core functionality. All other modules are independent from each other.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
@startuml

component core [
    Basic Module
]

component real_estate [
    Real Estate Module
]

component gastro [
    Gastronomy Module
]

core <-- real_estate
core <-- gastro

@enduml

Every module contains its single components, like Database Entities, so that it can be plugged into the Datacore environment.