Tuesday, December 25, 2018

Request and Response Execution Flow of Queries

Request and Response of Query Execution Flow is discussed

What Components are involved in Query Execution Flow

What Data Passing Data Structures are involved in Query Execution Flow

We selected the Data Access Pattern, by seeing how FAT the Domain Scenario/Feature is. Request Processing Pipeline for different scenarios.

Command is executed in two steps
Request Query
Response Query

Query Execution Flow



Flow of Request Fetch operation without business logic, while showing data on the Form

View è Controller è Query AS è Data Access Class è EF Repository è DB

Passing Data Strcutures for above Operation:  

QueryRequestViewModel/PrimiteDataType/ è QueryRequestModel/PrimiteDataType/ è Entities/VO/TrueFalse/PrimiteDataType/CustomeDataStructure


For executing Domain Logic in Domain Model, 
before Fetching Data from DB
Query AS è Factories/Domain Services/Entities/VO/Aggregates Roots/ Domain Events
Passing Data Strcutures for above Operation: 
Entities/VO
Response of Domain Logic execution, 
before Fetching Data from DB
Query AS ç Factories/Domain Services/Entities/VO/Aggregates Roots/ Domain Events

Passing Data Strcutures for above Operation: 
Entities/VO/TrueFalse/PrimiteDataType/CustomeDataStructure



Showing the response of Query Operation on the UI
View ç Controller ç AS ç Data Access Class ç EF Repository ç DB

Passing Data Strcutures for above Operation: 

   GenericQueryResponseModel ç GenericQueryResponseModel ç Entities/VO/TrueFalse/PrimiteDataType/CustomeDataStructure


Following is repetitive need to merged in above

Flow of ReponseFetch operation without business logic, while showing data on the Form
View ç Controller ç AS ç Data Access Class ç EF Repository ç DB
Flow of fetch operation with business logic, while executing Application Logic in Application Service
Controller ç AS ç Factories/Domain Services/Entities/VO/Aggregates Roots/ Domain Events
Flow of fetch operation with business logic, while executing Application Logic in Application Service
Controller ç AS ç Data Access Class ç EF Repository


No comments:

Post a Comment