From the course: Software Architecture: Patterns for Developers
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Layered
From the course: Software Architecture: Patterns for Developers
Layered
- [Instructor] The layered application pattern is a classic pattern that you'll encounter often in various forms. A layered application is an application that has several layers. Each layer has distinct responsibilities. The idea behind the layered application is that calls in the code flow downwards. A layer can call the layer below it, but not above it. There are five layers that occur often. The presentation layer contains the user interface. The application layer is the layer that receives calls from the UI and translates them into calls that the business layer can understand. The business layer contains all the business logic, and the persistence layer is where we put the code that knows how to interact with the database. Finally, the database is where we store the actual data. If necessary, you can add more layers, like a caching layer, for example, or in some scenarios, two layers can be merged into one. The layered architecture is well-known among many developers, and it's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Layered3m 39s
-
(Locked)
Onion3m 12s
-
(Locked)
Ports and adapters (or hexagonal)2m 32s
-
(Locked)
Differences between layered, onion, and hexagonal2m 25s
-
(Locked)
Modular monolith4m 37s
-
(Locked)
Microkernel3m 12s
-
(Locked)
CQRS4m 39s
-
(Locked)
Event sourcing5m 24s
-
Combining CQRS and event sourcing3m 36s
-
(Locked)
-
-