-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Feature Request Checklist
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
This is more of a discussion than a feature request.
What do you think about organizing the features using the architecture that is commonly known as "Vertical Slice architecture"?
The current structure is:
- application
- feature1
- ...
- domain
- feature1
- ...
- infrastructure
- feature1
- ...
- presentation
- ...
The proposed structure would organize every logic of a feature in a feature folder:
- features
- feature1
- application
- domain
- infrastructure
- presentation
- ...
- feature1
- domain (common shared domain logic)
- application (common shared application logic)
- infrastructure (...)
- presentation (generic logic where each feature will register it's presentation components)
I think this will improve cohesion and reduce coupling by setting clear features boundaries. Each boundary can specify exactly what should be shared with other parts of the system. Having each logic of a feature in a feature root folder will also help when traversing the code and learning about what the feature has implemented.
References
Additional Info
No response
Shrakka
Metadata
Metadata
Assignees
Labels
No labels