Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage Subfolders for Illustration of the Real Actual Architecture #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

punkratz312
Copy link

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

  1. Layered Directory Structure:

    • Modules are now placed into subdirectories: bootstrap, adapter, application, and model.
    • Each module corresponds to a specific layer in the architecture.
    • The model layer can only be accessed through higher-level layers, ensuring adherence to architectural principles.
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant