Vladimir KhorikovModeling Relationships in a DDD WayLet’s talk about modeling of relationships, including the dreaded many-to-many relationships, in a DDD way.Apr 19, 20221Apr 19, 20221
Vladimir KhorikovCollections and Primitive ObsessionDoes the primitive obsession anti-pattern apply to collections? In other words, should you introduce a custom class for a collection?Feb 16, 2022Feb 16, 2022
Vladimir KhorikovDatabase and Always-Valid Domain ModelToday, we’ll talk about an important question: how does the application database fit into the concept of Always-Valid Domain Model?Sep 1, 2021Sep 1, 2021
Vladimir KhorikovSpecification Pattern vs Always-Valid Domain ModelThere’s an interesting controversy between two DDD topics: the Specification pattern and the Always-Valid domain model.Jul 28, 20212Jul 28, 20212
Vladimir KhorikovStatic methods considered evil?Are static methods good or bad? Over the course of my career I did a full circle on this topic. In this article, I’ll try to describe this…Apr 13, 2021Apr 13, 2021
Vladimir KhorikovAlways-Valid Domain ModelI was re-reading some old articles about always-valid domain models, including this one form Jeffrey Palermo and the response to it from…Feb 4, 20212Feb 4, 20212
Vladimir KhorikovDomain model purity and the current timeI’m continuing the topic of domain model purity. This time, we’ll look at it with regards to getting the current date and time.Sep 24, 2020Sep 24, 2020
Vladimir KhorikovThe CAP theorem of domain modelingI’ve been meaning to write this article for a long time and, finally, here it is: the topic of domain model purity versus domain model…Aug 11, 20201Aug 11, 20201
Vladimir KhorikovHow to Unit Test an Abstract ClassHow to unit test an abstract class? Or a whole class hierarchy that depends on that abstract class? Let’s see.Jun 29, 20201Jun 29, 20201
Vladimir KhorikovDRY vs DAMP in Unit TestsIn this post, we’ll make a deep dive into the DRY and DAMP principles and will talk about the false dichotomy around them.Jun 15, 2020Jun 15, 2020