当前位置:网站首页>[answer] what does UML use to represent hexagonal architecture
[answer] what does UML use to represent hexagonal architecture
2022-06-12 00:39:00 【User 6288414】
Ryan 2022-1-10 14:45
I'm looking at the slides of your official account speech , There is a page for questions
Do you think it is recommended to use components to express , Is there a more suitable way ?
UMLChina Pan Jiayu
What I mean in my speech is just : If you want to use UML cater to DDD Of “ New words ”, perhaps DDD Of “ New words ” Want to put on a layer UML Skin , You can do this .
Actually , Use the structure diagram ( Class diagram 、 Component drawings, etc ) Express " framework " Inappropriate , Or say , Not enough .
Some of the things we usually see “ framework ”, It is just some routines of cooperation between domains . for example , The representations we usually see may be similar to this :
Since it is collaboration , You should use a behavior diagram ( Sequence diagram 、 Communication diagram, etc ) It means more suitable .
The picture you posted is from 《 Implement domain-driven design 》, There should be no sequence diagram in the book . By the way , The sequence diagrams in this book draw classes rather than instances on the lifeline , No colon , This is not true .
The most common “ Transfer accounts ” problem , There are probably two on the life line “ Account ” Class .
Similar problems , Others take the form of “ Domain-driven design ” There are also books named , Readers who are interested can turn to the books around you .
Hexagon structure , Refer to the sequence drawing of the adapter pattern , for example :
边栏推荐
- Started with trust and loyal to profession | datapipeline received a thank you letter from Shandong city commercial bank Alliance
- How to change the font size of Apple phone WPS
- KV storage separation principle and performance evaluation of nebula graph
- Design principle [Demeter's Law]
- Web keyboard input method application development guide (2) -- keyboard events
- Unified certification center oauth2 high availability pit
- Global and Chinese chromatographic silica gel resin industry research and investment direction forecast report 2022 Edition
- 2022 edition of global and Chinese hexamethylene chloride industry dynamic research and investment prospect forecast report
- Industrial control system ICs
- DDD exaggeration, Eric Evans made a bad start
猜你喜欢

IP addressing overview

Matplotlip basic drawing learning of data analysis - 01

深度学习100例 | 第41天:语音识别 - PyTorch实现

WPS标题段前间距设置无效解决方案

What are the software development processes of the visitor push mall?

DevOps落地实践点滴和踩坑记录-(1)

时间选择器样式错乱 中间文字被遮挡

环境搭建2

Anfulai embedded weekly report (issue 254): February 21, 2022 to February 27, 2022

gin解决跨域问题
随机推荐
How to send Apple phone WPS files to QQ mailbox
Jeecgboot 3.1.0 release, enterprise low code platform based on code generator
[case] building a universal data lake for Fuguo fund based on star ring technology data cloud platform TDC
C language exercise: esp32 ble Low Power Bluetooth server data packaging and client data analysis
IP编址概述
Bgfx multithreaded rendering
DPT-FSNET: DUAL-PATH TRANSFORMER BASED FULL-BAND AND SUB-BAND FUSION NETWORK FOR SPEECH ENHANCEMENT
Web keyboard input method application development guide (2) -- keyboard events
Openmmlab:ai CV framework
[node] common methods of path module
QApplication a (argc, argv) and exec() in the main function of QT getting started
926. Flip String to Monotone Increasing
功能测试如何1个月快速进阶自动化测试?明确这2步就问题不大了
Characteristics of JS logical operators
[flume] notes
DevOps落地实践点滴和踩坑记录-(1)
gin解决跨域问题
Exploration of qunar risk control safety products
2021 inventory: Top 10 low code development platforms at home and abroad
What are the software development processes of the visitor push mall?