当前位置:网站首页>[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 :
边栏推荐
- Water for a while
- MySQL basic tutorial -- MySQL transaction and storage engine
- Argodb 3.2 of star ring technology was officially released to comprehensively upgrade ease of use, performance and security
- [industry application] an article on power digital transformation
- 2022 edition of global and Chinese high purity silicon carbide powder operation research and investment strategy analysis report
- Devops landing practice drip and pit stepping records - (1)
- Started with trust and loyal to profession | datapipeline received a thank you letter from Shandong city commercial bank Alliance
- Lambda终结操作forEach
- repeat_ L2-009 red envelope grabbing_ sort
- "Failure" of the prospectus of Laowang: Laowang made its first dash for listing in Hong Kong, and the turnover rate continued to decline
猜你喜欢

接口自动化测试很难?带你从0到1入门接口自动化测试【0基础也能看懂系列】

Flutter uses local pictures

Enterprise wechat H5_ Integrated message decryption class, message push get and post callback processing

Month selector disable data after the current month to include the current month

How does Kingview use the wireless host link communication module to remotely collect PLC data?

Cuiyunkai, CEO of Gewu titanium Intelligent Technology: data value jump, insight into the next generation of change forces

Characteristics of JS logical operators

Gin integrated graphic verification code

Jiaming's day13 of C learning -- structure and structure pointer

Industrial control system ICs
随机推荐
[case] building a universal data lake for Fuguo fund based on star ring technology data cloud platform TDC
Design a MySQL table for message queue to store message data
Global and Chinese maleic anhydride polypropylene industry investment analysis and prospect trend forecast report 2022 Edition
模块八-设计消息队列存储消息数据的 MySQL 表格
Water for a while
2022 edition of global and Chinese sodium hydrosulfide market in-depth investigation and prospect Trend Forecast Report
Anfulai embedded weekly report (issue 254): February 21, 2022 to February 27, 2022
Bgfx multithreaded rendering
No permission to mount SMB share prompt directory
ironSource  New functions are released, and developers can adjust advertising strategies in real time in the same session
[node] common methods of path module
"Failure" of the prospectus of Laowang: Laowang made its first dash for listing in Hong Kong, and the turnover rate continued to decline
Seven trends in test automation that need attention
Tencent programmer roast: 1kW real estate +1kw stock +300w cash, ready to retire at the age of 35
Unified certification center oauth2 high availability pit
Pass the command parameters for operating mongodb to Mongo in the shell
Design principle [Demeter's Law]
leetcodeSQL:614. Secondary followers
UVM: transaction level modeling (TLM) 1.0 communication standard
Alibaba cloud intelligent coding plug-in provides a more cosy development experience