Refatoring : Working state

This commit is contained in:
julien
2026-03-16 14:40:17 +01:00
parent d832d598fe
commit 115b079dfb
11 changed files with 691 additions and 504 deletions

View File

@@ -1,8 +1,8 @@
# Architecture
> **Refactor DDD légère — lots 1 et 2**
> **Refactor DDD légère — lots 1 à 3**
>
> `Post/`, `Category/` et `User/` introduisent maintenant une organisation verticale
> `Post/`, `Category/`, `User/` et `Media/` introduisent maintenant une organisation verticale
> `Application / Infrastructure / Http / Domain` pour alléger la lecture et préparer
> un découpage plus fin par cas d'usage. Les classes historiques à la racine du domaine
> sont conservées comme **ponts de compatibilité** afin de préserver les routes, le conteneur
@@ -93,8 +93,9 @@ final class PostService
| `PostServiceInterface` | `PostService` | `Post/` |
| `CategoryRepositoryInterface` | `CategoryRepository` | `Category/`|
| `CategoryServiceInterface` | `CategoryService` | `Category/`|
| `MediaRepositoryInterface` | `MediaRepository` | `Media/` |
| `MediaServiceInterface` | `MediaService` | `Media/` |
| `MediaRepositoryInterface` | `PdoMediaRepository` | `Media/` |
| `MediaServiceInterface` | `MediaApplicationService` | `Media/` |
| `MediaStorageInterface` | `LocalMediaStorage` | `Media/` |
| `SessionManagerInterface` | `SessionManager` | `Shared/` |
| `MailServiceInterface` | `MailService` | `Shared/` |
| `FlashServiceInterface` | `FlashService` | `Shared/` |