mirror of
https://github.com/ivanpaulovich/clean-architecture-manga.git
synced 2025-01-08 11:57:36 +08:00
Page:
Flow of Control
6
Flow of Control
Justin Neilon edited this page 2020-06-22 08:56:12 +02:00
Table of Contents
The flow of control begins at the controller, moves through the use case, and then winds up executing the presenter.
Register Flow of Control
- A request is received by the
CustomersController
then thePost
action is invoked. - The
Post
action creates aRegisterInput
message then theRegister
use case is called. - The
Register
use case creates aCustomer
and anAccount
entities. Repositories are called, theRegisterOutput
message is built and sent to theRegisterPresenter
. - The
RegisterPresenter
builds the HTTP response message. - The
CustomersController
asks the presenter for the current response message.
Get Customer Details Flow of Control
- A request is received by the
CustomersController
then theGetCustomer
action is invoked. - The
GetCustomer
action creates anGetCustomerDetailsInput
message thenGetCustomerDetails
use case is called. - The
GetCustomerDetails
use case asks the repositories about theCustomer
and theAccount
. It could call theNotFound
or theDefault
output port of theGetCustomerDetailsPresenter
if it exists or does not. - The
GetCustomerDetailsPresenter
builds the HTTP response message. - The
CustomersController
asks the presenter for the current response.
Index of Clean Architecture Manga
Home
Use Cases
Flow of Control
Architecture Styles
Design Patterns
Domain-Driven Design Patterns
- Value Object
- Entity
- Aggregate Root
- Repository
- Use Case
- Bounded Context
- Entity Factory
- Domain Service
- Application Service
Separation of Concerns
Encapsulation
Test-Driven Development TDD
Fakes
SOLID
- Single Responsibility Principle
- Open-Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
.NET Core Web API
- Swagger and API Versioning
- Microsoft Extensions
- Feature Flags
- Logging
- Data Annotations
- Authentication
- Authorization
Entity Framework Core
Environment Configurations
DevOps
- Running the Application Locally
- Running the Tests Locally
- Continuous Integration & Continuous Deployment