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

Event-Driven Architecture lost its way

Event-driven architecture is excellent for decoupling—or is it? The industry is trending towards losing the value of decoupling because of how it uses and defines events. Let me explain so you can avoid getting caught up in the same coupling trap. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Events I’ve been seeing events defined in four ways in the industry right now: in terms of size, they are either coarse or granularity and are derived from CRUD and data-centric or business-focused and behavior-centric. Coarse events… Read More »Event-Driven Architecture lost its way

App Configuration: where does it go?

How do you manage your App Configuration? Things like connection strings, hostnames, 3rd party API keys, and application-specific settings like log levels. You can use config files, environment variables, and external configuration services. Let me sort it out and explain the different situations so you can choose the best option. It’s not a one size fits all. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Included It’s typical to include your configuration alongside your application. This could be in code, compiled into your binary, or a… Read More »App Configuration: where does it go?

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!