Skip to content

Instantly share code, notes, and snippets.

@luctrudeau
Last active January 4, 2016 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luctrudeau/8609324 to your computer and use it in GitHub Desktop.
Save luctrudeau/8609324 to your computer and use it in GitHub Desktop.
Loose Coupling
@startuml
package "couche 1" <<Rect>> {
Observable <|-- A
}
package "couche 2" <<Rect>> {
Interface Observable
B -> A
}
@enduml
@startuml
package couche2 <<Rect>> {
B -> couche1.Observable
}
package couche1 <<Rect>> {
Interface Observable
couche1.Observable <|- couche1.A
}
@enduml
@startuml
package couche2 <<Rect>> {
Interface Observable
Class B
B -> Observable
Observable <|- couche1.A
couche1.A -> B
}
package couche1 <<Rect>> {
}
@enduml
@luctrudeau
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment