gpt4 book ai didi

design-patterns - Hexagonal Architecture中的 "Hexagonal"是什么意思?

转载 作者:行者123 更新时间:2023-12-04 07:11:46 26 4
gpt4 key购买 nike

我正在通读六边形架构,不知何故我理解了这个概念,但我很想知道为什么它被称为Hexagonal。

最佳答案

六边形架构的名称来源于 Alistair Cockburn 绘制模式图的方式。它与实际代码无关。

The hexagon is not a hexagon because the number six is important, but rather to allow the people doing the drawing to have room to insert ports and adapters as they need, not being constrained by a one-dimensional layered drawing. The term "Hexagonal Architecture" comes from this visual effect.

来源:https://declara.com/content/va7eLmgJ

关于design-patterns - Hexagonal Architecture中的 "Hexagonal"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48334478/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com