hexagonal-architecture-java
hexagonal-architecture-java copied to clipboard
Leverage Subfolders for Illustration of the Real Actual Architecture
Showcase Realistic Architectural Layering in Hexagonal Architecture
Description
This update reorganizes the project structure by introducing subdirectories that reflect the actual architecture, moving away from a flat, all-in-one directory structure. The new organization better illustrates real-world architectural design by enforcing layer separation and hierarchical access.
Key Changes
-
Layered Directory Structure:
- Modules are now placed into subdirectories:
bootstrap,adapter,application, andmodel. - Each module corresponds to a specific layer in the architecture.
- The
modellayer can only be accessed through higher-level layers, ensuring adherence to architectural principles.
- Modules are now placed into subdirectories:
-
Improved Visualization:
- The restructured layout helps developers better understand the relationships and dependencies between layers.
- The setup mirrors real-life scenarios where architectural constraints dictate layer access.
Benefits
- Enhanced Clarity: Simplifies onboarding for new contributors by presenting a clear architectural structure.
- Accurate Representation: Aligns the codebase with hexagonal architecture principles.
- Improved Maintainability: Facilitates scalability and future updates by enforcing separation of concerns.
Let me know if additional details or revisions are needed.