有没有使用DDD(领域驱动设计)任何开源项目? [英] Are there any open source projects using DDD (Domain Driven Design)?

查看:2715
本文介绍了有没有使用DDD(领域驱动设计)任何开源项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图了解背后DDD的概念,但我觉得很难仅仅通过读书,因为他们往往​​会讨论一个比较抽象的方式的话题明白了。我想看看DDD的一些好的实现在code,preferably在C#。

I'm trying to understand the concepts behind DDD, but I find it hard to understand just by reading books as they tend to discuss the topic in a rather abstract way. I would like to see some good implementations of DDD in code, preferably in C#.

是否有项目在开源世界中修炼DDD任何好的例子吗?

Are there any good examples of projects practicing DDD in the open source world?

推荐答案

埃里克·埃文斯和瑞典咨询公司已经发布了基于艾瑞利用贯穿全书航运例如一个示例应用程序。这是在Java中,但其概念是有​​据可查的项目页面上。

Eric Evans and a Swedish consulting company have released a sample application based on the shipping example that Eric uses throughout the book. It's in Java, but the concepts are well documented on the project page.

http://dddsample.sourceforge.net/

然而,予以警告,DDD更多的是旅程比目的地。要知道,你正在寻找样本code有许多形式之前,它成为你现在所看到的。你没看到,最初使用的尴尬模型和你错过根据沿途获得洞察力重构模型所采取的步骤。虽然积木是DDD重要的是,埃里克belives他们过分强调,所以采取各种样品一粒盐。

However, be warned that DDD is more about the journey than the destination. Understand that the sample code you are looking took many forms before it became what you see now. You did not see the awkward models that were used initially and you're missing the steps taken to refactor the model based on insight gained along the way. While the building blocks are important in DDD, Eric belives they are over-emphasized, so take all samples with a grain of salt.

这篇关于有没有使用DDD(领域驱动设计)任何开源项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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