Skip to content

Instantly share code, notes, and snippets.

@Calabonga
Created April 5, 2022 00:41
Show Gist options
  • Save Calabonga/9d90efad4003bc4743bf83b18dd4ec1c to your computer and use it in GitHub Desktop.
Save Calabonga/9d90efad4003bc4743bf83b18dd4ec1c to your computer and use it in GitHub Desktop.

Layered Architecture

flowchart TD
    subgraph FEATURES
        Presentation --> Application
        Application --> Domain
        Domain --> Infrastructure
        Infrastructure --> Database
    end
Loading

Vertical Slice Architecture

flowchart TD
    subgraph FEATURE 1
        Presentation1 --> Application1
        Application1 --> Domain1
        Domain1 --> Infrastructure1
        Infrastructure1 --> Database1
    end    
    subgraph FEATURE 2
        Presentation2 --> Application2
        Application2 --> Domain2
        Domain2 --> Infrastructure2
        Infrastructure2 --> Database2
    end 
    subgraph FEATURE 3
        Presentation3 --> Application3
        Application3 --> Domain3
        Domain3 --> Infrastructure3
        Infrastructure3 --> Database3
    end 
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment