-
Book Overview & Buying
-
Table Of Contents
An Atypical ASP.NET Core 5 Design Patterns Guide
By :
As was said at the beginning of the previous chapter, instead of separating an application horizontally, a vertical slice groups all horizontal concerns together to encapsulate a feature. Here is a diagram that illustrates that:
Figure 15.1 – Diagram representing a vertical slice crossing all layers
Jimmy Bogard, who is the pioneer of this type of architecture and who promotes it frequently, says the following:
[The goal is to] minimize coupling between slices and maximize coupling within a slice.
What does that mean? Let's split that sentence into two distinct points:
We could see the former as: instead of spreading code around multiple layers, with potentially superfluous abstractions along the way, let's regroup that code together. That helps keep...