From 5f330bda61c8e670736608f8e652cff41b2b9cbe Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Sun, 29 May 2022 18:11:09 +0430 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27b1e81..18b45a3 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ Also here I used cqrs to decompose my features into small parts that makes our a - Easy to maintain and add features to. Changes only affect one command or query, avoiding breaking changes or creating side effects. - It gives us better separation of concerns and cross cutting concern (with help of mediatr behavior pipelines), instead of bloated service classes doing many things. -Using the CQRS pattern, we cut each business functionality into vertical slices, for each of these slices we [group classes](http://www.kamilgrzybek.com/design/feature-folders) specific to that feature together (command, handlers, infrastructure, repository, controllers, ...). In Our CQRS pattern each command/query handler is a separate slice. This is where you can reduce coupling between layers. Each handler can be a separated code unit, even copy/pasted. Thanks to that, we can tune down the specific method to not follow general conventions (e.g. use custom SQL query or even different storage). In a traditional layered architecture, when we change the core generic mechanism in one layer, it can impact all methods. +Using the CQRS pattern, we cut each business functionality into vertical slices, for each of these slices we [technical folders structure](http://www.kamilgrzybek.com/design/feature-folders) specific to that feature together (command, handlers, infrastructure, repository, controllers, ...). In Our CQRS pattern each command/query handler is a separate slice. This is where you can reduce coupling between layers. Each handler can be a separated code unit, even copy/pasted. Thanks to that, we can tune down the specific method to not follow general conventions (e.g. use custom SQL query or even different storage). In a traditional layered architecture, when we change the core generic mechanism in one layer, it can impact all methods. ## How to Run