...

/

The Single Responsibility Principle

The Single Responsibility Principle

Learn about the single responsibility principle and how it can help you develop better software architecture.

We'll cover the following...

In the previous chapter, we discussed the potential problems that arise when using a layered architecture. This chapter will discuss an alternative approach. We’ll start by discussing two of the SOLID principles and then apply them to create a “Clean” or “Hexagonal” architecture that addresses the problems of a layered architecture.

SOLID

SOLID consists of the following five principles:

...