Baroshem / microservice-template

📖 Nest.js based microservice repository template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add Readme.md to all folders

Baroshem opened this issue · comments

Feature Request

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Domain-Driven Design (DDD) is an approach to software development for complex needs by connecting the implementation to an evolving model. The premise of Domain-Driven Design is the following:

placing the project's primary focus on the core domain and domain logic
basing complex designs on a model of the domain
initiating a creative collaboration between technical and domain experts to iteratively refine a conceptual model that addresses particular domain problems
The term was coined by Eric Evans in his book of the same title.

Command Query Responsibility Segregation (CQRS) is simply the creation of two objects where there was previously only one. The separation occurs based upon whether the methods are a command or a query (the same definition that is used by Meyer in Command and Query Separation, a command is any method that mutates state and a query is any method that returns a value).

Event Sourcing the fundamental idea of Event Sourcing is that of ensuring every change to the state of an application is captured in an event object, and that these event objects are themselves stored in the sequence they were applied for the same lifetime as the application state itself.

Teachability, Documentation, Adoption, Migration Strategy

What is the motivation / use case for changing the behavior?