docs: add layer readmes for architecture boundaries
This commit is contained in:
41
src/core/DigitalData.TaskFlow.Application/README.md
Normal file
41
src/core/DigitalData.TaskFlow.Application/README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# DigitalData.TaskFlow.Application
|
||||
|
||||
Dieses Projekt enthaelt die Use-Case-Schicht der Anwendung.
|
||||
|
||||
## Zweck
|
||||
|
||||
Die Application-Schicht orchestriert fachliche Anwendungsfaelle. Sie nimmt Requests entgegen, validiert diese, ruft Domain-nahe Abstraktionen auf und liefert strukturierte Ergebnisse zurueck.
|
||||
|
||||
## Aktueller Inhalt
|
||||
|
||||
- `DependencyInjection.cs`
|
||||
- Registriert zentrale Application-Dienste:
|
||||
- MediatR
|
||||
- FluentValidation
|
||||
- AutoMapper
|
||||
- Bindet `MediatR`-Optionen inklusive Lizenzschluessel.
|
||||
- `Options/`
|
||||
- `MediatROptions`: Konfiguration fuer MediatR (z. B. `LuckyPennySoftLicenseKey`).
|
||||
|
||||
## Geplante Inhalte (naechste Phasen)
|
||||
|
||||
- `Features/`
|
||||
- Queries/Commands fuer Workflows, Closing und Documents.
|
||||
- `Validators/`
|
||||
- FluentValidation-Regeln pro Request.
|
||||
- `Common/Behaviors/`
|
||||
- Pipeline-Behavior (z. B. zentrale Request-Validierung).
|
||||
- `Common/Interfaces/`
|
||||
- Repository-Abstraktionen fuer Datenzugriff.
|
||||
- `Mappings/`
|
||||
- AutoMapper-Profile zwischen Infrastrukturmodellen und Domainmodellen.
|
||||
|
||||
## Architektur-Regeln
|
||||
|
||||
- Keine direkten SQL- oder EF-Core-Aufrufe.
|
||||
- Keine HTTP-spezifischen Controller-Abhaengigkeiten.
|
||||
- Kommunikation nach aussen nur ueber Interfaces.
|
||||
|
||||
## Rolle im Gesamtsystem
|
||||
|
||||
Diese Schicht ist der zentrale Ausfuehrungspunkt fuer Use-Cases und verbindet die API-Schicht mit Domain und Infrastructure, ohne Technologie-Details nach oben durchzureichen.
|
||||
Reference in New Issue
Block a user