Popular architecture patterns
In this section, we will explore five popular architectural patterns. We will explain the core concept of each pattern, and then we will outline the key components of each architecture pattern. This should help you learn about the usefulness of architecture patterns and support you in choosing the right pattern for a proposed solution. Let's begin with a layered architecture.
This type of architecture is widely known by most architects and developers as n-tier architecture. It is used to structure the system into different layers, where each layer consists of a set of classes grouped in one assembly based on a specific context. The layers are structured horizontally so that each layer can consume services from one layer or the many layers that are beneath it.
In most cases, this architecture consists of three main layers, as shown in the following diagram: