Tag DDD
New course: Domain-Driven Design: Working with Legacy Projects
My new training course Domain-Driven Design: Working with Legacy Projects went live.
Value Objects and Error Messages
I haven’t done one of these for a while. This post is a review of a code submitted by a reader.
Using Value Objects to represent technical concerns
I was asked a question recently which I find quite interesting. It is actually a part of a code review request (which I’ll cover next week) but I decided to elevate it to its own blog post.
.NET Value Type (struct) as a DDD Value Object
I got a suggestion recently about using .NET structs to represent DDD Value Objects to which I repeated what I’ve been saying and writing for several years now: structs are not a good choice for DDD Value Objects. But then I realized that I never actually dove into the details of why it is so.
So here it is, the blog post where we’ll talk about using .NET Value Types (structs) as DDD Value Objects and what effect it has on the domain model, performance, and mapping the model to the database using ORMs.
New course: Refactoring from Anemic Domain Model Towards a Rich One
My new training course Refactoring from Anemic Domain Model Towards a Rich One went live.
Domain events: simple and reliable solution
Today, I’d like to write about a simple and reliable way to implement domain events.
Value Object: a better implementation
This post is about a better implementation of Value Object.
Always valid vs not always valid domain model
I’m back to the regular posting schedule. No more game development, at least for now.
Ubiquitous Language and Naming
In this post, I’d like to talk about naming and Ubiquitous Language.
The best way to implement a Main Something property
In this post, we will explore a common design problem: implementing a Main Something property. There’s an equally common solution to this problem which is sub-optimal in most cases.