Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.
Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.
Software Engineer at BBC
Manchester, GB
Joined Jun 2018
twitter: @Ewan_Valentine
Stats
| Reputation: | 378 |
| Pageviews: | 165.6K |
| Articles: | 9 |
| Comments: | 2 |
Comments
Dec 21, 2018 · Mike Gates
It's not intentionally click-bait, it's just not a very good title I guess. Something I need to work on.
Perhaps my article didn't convey it's purpose correctly, and the code examples are a little tenuous. I agree I haven't specifically talked about Entities or Aggregates, my intention wasn't to delve into DDD itself, but talk about how you can use JS modules to encapsulate functionality behind a single expression, without using classes.
I'll update the article to use more DDD specific examples. Thanks for the heads up.
Dec 21, 2018 · Mike Gates
How dare I? Erm, okay!
Encapsulating functionality behind something clearly defined is absolutely a part of DDD.
Have I ready about it, yes, lots. Do I know what aggregates are, yes I do. This article was more specifically about utilising Javascript better to signal the intent of your code, with DDD in mind.