开发者

Domain Driven Design efforts in dynamic languages? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_如何学Go

Closed 4 years ago.

Improve this question

Are you aware of any DDD efforts in a dynamic language ?

Practical resources on DDD tend to decrease quite dramatically when straying from enterprise-oriented solutions (a google search exluding C#, .NET, ASP and Java yields 10 times less results), but i couldn't actually find a single example of a DDD implementation in a dynamic language...


Recently I tried to collect all known sources related to DDD in dynamic languages. I was end up with this guthub repo.

For reference here some code examples:

1) Ruby DDD Sample App

2) DDD in Django example

3) Kanban board in Python with DDD approach


No, I'm not, but the principles remain the same so there shouldn't be any reasons why it wouldn't work out just as well, especially if the dynamic language in question has a good OO support (e.g. Ruby).

Even better perhaps, since your domain model could more easily make use of e.g. traits/mixins, and concepts from DCI, etc. if there's a fit.


There is some emerging frameworks like Hanami-rb that encourage the use of DDD principles.

But as I've mentioned here, although it is possible, there is a few downsides that may explain why the use of DDD is not so common in the "dynamic typed languages" word.


The TYPO3 Association began working on the development of a PHP framework with a strong focus on encouraging Domain Driven Design some time ago. That framework is now part of the Neos project and is called Flow.

The alpha version they presented back in 2008 (when I heard the last talk of the development head) looked already very promising. I haven't had a closer look so far though.

Our company has been doing PHP development with a DDD mindset for some time, however I didn't think about anything that would be specifically different for dynamic languages so far. I can only tell it works great for us.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜