Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

ORMs can lead to FAT domain models. Slim them down!

ORMs and how you persist data can significantly impact your design and lead to fat domain models. Data is critical, but how you capture that data can lead you down a path where you need to realize the compromise you’re making. I will show an example of how not all data is created equal. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. What do you care about? When you’re thinking about a domain and modeling it, what do you care about? Most often, developers focus on… Read More »ORMs can lead to FAT domain models. Slim them down!

Best Developer Interview Question

I want to give you one of the best tips related to hiring and developer interview questions. It doesn’t matter if you are the one in the interview who’s answering or asking this question. This tip relates to one of my most significant issues with the software development community: we often take a concept and then butcher it to the point where it no longer has its original meaning. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Semantic Diffusion I first discovered the term Semantic Diffusion… Read More »Best Developer Interview Question

Listen to yourself pattern: Is it an alternative to the Outbox Pattern?

So, you need consistency between making state changes to your database and publishing events to a message broker for other services to consume. A common pattern to handle this situation is the Outbox Pattern, but another pattern called Listen to Yourself tries to solve the consistency issue. Does it work? Well lets find out. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Problem: Consistency Here’s the problem. A possible consistency problem exists because you’re interacting and trying to perform two non-atomic operations. You need to save… Read More »Listen to yourself pattern: Is it an alternative to the Outbox Pattern?