什么是域驱动设计? [英] What is domain driven design?

查看:113
本文介绍了什么是域驱动设计?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我从团队中的一位开发人员那里提出了一个问题:什么是域驱动设计?我当然可以指向埃文斯的书,但这实际上是答案吗?

So I got this question from one of the developers in my team: What is domain driven design? I could of course point to the book from Evans but is that actually an answer?

您如何用几句话向团队中的初级软件工程师解释DDD?

How would you explain DDD in a few sentences to junior software engineers in your team?

推荐答案

我想说,这种做法可以促进您将精力集中在问题空间而不是解决方案空间上。通过研究并真正了解和理解领域来驱动紧急解决方案(设计)。一种做法(摘自XP)是写问题领域中发生的故事。从中您可以确定设计的用例和对象。他们出现并告诉您解决方案中需要包含什么,以及他们如何彼此交互。

I would say this practice promotes concentrating your efforts on the 'problem space' rather than the 'solution space'. Driving an emergent solution (the design) by studying and really getting to know and understand the domain. One of the practices (taken from XP) would be the writing of stories that occur in the problem domain. From these you can identify your use cases and objects for your design. They 'emerge' and tell you what needs to be in the solution, and how they will need to interact with each other.

这篇关于什么是域驱动设计?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆