README.md 1.14 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
    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

44
45
    domain/     where aggregates, entities, values lives.
    usecase/    where domain components play toghether using services, repositories interfaces.
46
47
48

technology depenent packages

49
50
51
    adapter/    where services, repositories implementations lives.
    support/    where domain indipendent sherable implementation components lives.
    scenario/   where usecases are applied to real technology dependent case.    
52
53
54
55
56
57
58

## 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.