8

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...

julien
  • 1,879
  • 2
  • 20
  • 29

4 Answers4

6

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

valignatev
  • 6,020
  • 8
  • 37
  • 61
4

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.

Martin R-L
  • 4,039
  • 3
  • 28
  • 28
  • Interesting answer, I've been thinking the same, but my lack of experience with DDD prevailed on me to say so myself. I'm still hoping for someone to come up with resources on specifics of DDD in dynamic languages though. – julien Nov 18 '09 at 02:10
1

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.

fabriciorissetto
  • 9,475
  • 5
  • 65
  • 73
0

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.

cognifloyd
  • 49
  • 7