1
carlclone 2018-03-06 10:09:56 +08:00
UML 图....
|
2
Kilerd 2018-03-06 10:15:08 +08:00
a is based on b
|
3
gihnius 2018-03-06 10:23:53 +08:00 via iPhone 1
A has many b
B belongs to a Ruby on Rails 那一套 |
4
popbones 2018-03-06 10:27:18 +08:00 via iPhone
A 依赖 B:B is a dependence of A; A is a dependant of B
|
5
mengxh1990 OP 感谢楼上的几位回复
感觉太长了,就是有一个下拉框让用户选择依赖的类型,像 a is based on b, a has many b 就太长了,最好的就是像配置一个数据类型一样 |
6
jeremaihloo 2018-03-06 11:26:52 +08:00
docker-compose: 两个 service 之间 `depends_on`
|
7
shimomiaizo 2018-03-06 12:10:37 +08:00
depends_on
defines |
8
mengxh1990 OP @jeremaihloo thanks. 我借鉴一下
|
9
mengxh1990 OP @shimomiaizo 这个 defines 是是定义的意思吗?不过被依赖也可以理解为广义的“定义 xx ”
|
10
dartabe 2018-03-06 14:43:57 +08:00
correlation
decorrelation |
11
shimomiaizo 2018-03-06 15:24:07 +08:00
@mengxh1990 A 依赖 B,B 被 A 依赖 = B 定义 A,A 被 B 定义。
|
12
winglight2016 2018-03-06 21:27:22 +08:00
聚合:aggregate
组合:composite 引用:navigate 拥有:has 被拥有:owned by 1...N 0...1 M...N 够用了吧? |
13
mengxh1990 OP @winglight2016 够了够了,多谢
|