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

Build better HTTP APIs

Many of the business systems we build are for managing life cycles and workflows. It provides ways to make the state transition from beginning to end. One of the challenges when building systems is that they evolve, and you can start leaking business logic to the frontend or clients where you end up with duplicate logic littered all over the place. Here’s a way to solve that issue so you can build better HTTP APIs. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. State Machine For… Read More »Build better HTTP APIs

Is this a Monolith or Microservices?

Let’s play a game called Guess the Software Architecture! Can you guess the software architecture in these diagrams in this post? What characteristics determine which type of software architecture is being used? Do you think its a monolith or microservices? Or possibly something else! YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Evolution So, first, we’ll start with an HTTP API that talks with a database. The HTTP API could be a single process or within a container, and it could be scaled out horizontally behind… Read More »Is this a Monolith or Microservices?

Is Vertical Slice Architecture better than Clean Architecture or Ports and Adapters?

Is Vertical Slice Architecture better than Clean Architecture or Ports and Adapters? You’ll hear a lot advocating for Vertical Slices and often, when doing so, trying to pin it against other types like clean, onion, ports and adapters. So which one is better? YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Clean Architecture You might be familiar with this diagram illustrating Clean architecture. What’s defined in each ring is unimportant and there can be more or less of them. What’s important about it is the arrows… Read More »Is Vertical Slice Architecture better than Clean Architecture or Ports and Adapters?