January 2019
Intermediate to advanced
754 pages
18h 13m
English
State data in traditional applications is represented through a set of entities. The entities are stored in a single data repository against which two types of operations can take place.
An operation cannot both update state and return data. This distinction of operations helps simplify understanding the system. The segregation of operations into commands and queries is called the Command Query Separation (CQS) pattern. The CQS pattern requires the commands to have void return type and the queries to be idempotent.
If a relational database such as SQL Server is used for storing state, the entities may represent a subset of rows in one or more tables in the ...
Read now
Unlock full access