Event modeling · Diagram Design

From command to read model

An illustrative three-stage information flow, ordered left to right.

Illustrative event modelingThree time-ordered stages. Each has a command, a resulting past-tense event, and a read model projected from that event. COMMAND EVENT READ MODEL 01 SUBMIT CMD-01 Submit finding EVT-01 FindingSubmitted VIEW-01 Open findings 02 PUBLISH CMD-02 Publish review EVT-02 ReviewPublished VIEW-02 Published reviews 03 CLOSE CMD-03 Close case EVT-03 CaseClosed VIEW-03 Closed cases ILLUSTRATIVE FLOW · TIME MOVES LEFT TO RIGHT

Time order

Read columns left to right. The numbered stages are scenario order, not measured duration.

Distinct roles

A command requests work. A past-tense event records what happened. A read model presents a projection.

Explicit links

Each command emits its event; each event projects into the read model below it.