Last active
August 29, 2015 14:09
-
-
Save linux-china/21253a519a68686710d5 to your computer and use it in GitHub Desktop.
DDD architecture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
[Infrastructure] #Aqua | |
[Shared] | |
note left of Shared : XxxSupport, Utils | |
package "model package" { | |
[Model] <<Domain>> | |
[Repository] <<Domain>> | |
[Factory] <<Domain>> | |
} | |
package "Logic Layer" { | |
[Service] <<Domain>> | |
[Event] <<Domain>> | |
[Application] | |
note right of Application : Facade,OpenAPI,\nRemote Service etc | |
} | |
package "App Layer" { | |
[WebApp] <<App>> | |
[MobileBackend] <<App>> | |
[Interface] <<App>> | |
[MobileApp] <<App>> | |
} | |
[Shared] --> [Infrastructure] | |
[Repository] --> [Shared] | |
[Repository] --> [Model] | |
[Service] -[#0000FF]> [Repository] | |
[Factory] --> [Model] | |
[Event] -[#0000FF]> [Service] | |
[Event] -[#0000FF]> [Repository] | |
[Application] -[#0000FF]> [Repository] | |
[Application] -[#0000FF]> [Service] | |
[Application] -[#0000FF]> [Event] | |
[Application] ....> [Infrastructure] | |
[Application] ....> [Shared] | |
[WebApp] ..> [Application] | |
[WebApp] ..> [Service] | |
[WebApp] ..> [Event] | |
[Interface] --> [WebApp] | |
[MobileBackend] ..> [Application] | |
[MobileBackend] ..> [Service] | |
[MobileBackend] ..> [Event] | |
[MobileApp] --> [MobileBackend] | |
skinparam component { | |
FontSize 13 | |
BackgroundColor<<Domain>> gold | |
BackgroundColor<<App>> DarkKhaki | |
FontName Courier | |
} | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment