README.md 1.06 KB
Newer Older
Pedot Nicola's avatar
Pedot Nicola committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# README


## required

    mvn 3
    jdk 8


## compile

    mvn compile


## test

17
18
19
20
21
22
23
    mvn test
    
    
## edit

Mostly required IntelliJ IDEA for Kotlin.

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
    idea . &


## source

### package / naming conventions

main package

    unibz.      univerity name
    cs.         computer science faculty name
    semint.     project name
    kprime      subproject name

main class entry point

    Starter     where all it starts and components get put toghether

technology free packages

    domain/     where aggregates, entities, values lives
    usecase/    where domain components play toghether using services, repositories interfaces

technology depenent packages

    adapter/    where services, repositories implementations lives
    support/    where domain indipendent sherable implementation components lives
    

## classes conventions

* A UseCase will return allways a UseCaseResult.
* A UseCase may use only domain, service, repository components.
* An Adapter ha always to implement a service or repository interface.
* A domain component has to depends on nothing.