Skip to content

Commit

Permalink
added Info on Event-Driven systems and that these are not supported w…
Browse files Browse the repository at this point in the history
…ithin the traditional state-stored scenario
  • Loading branch information
idugalic committed Dec 17, 2023
1 parent 188093b commit 6866739
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/application/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,16 @@ The domain model is explicitly modeling `events` and `state,` and this opens som

It is important to realize that your core domain logic does not have to change in order to transit from one flavor to another!

Fmodel exposes couple of types of repository interfaces/ports within the `application` module to support these two flavors:
Fmodel exposes couple of types of repository interfaces/ports within the `application` module to support these two flavors.

:::info
- State-stored systems are using single canonical model for writing and reading/presenting, by default.
- Event-stored/Event_sourced systems are split to command and view/query models, by default.

Fmodel is promoting robust event-driven systems only in case of Event-Sourced scenario.

In case of State-Stored scenario, you are limited to Decider and StateStoredAggregate components only. View, MaterializedView, SagaManager components are not available/useful.
:::

<Tabs groupId="system-type" queryString="system-type">
<TabItem value="event-stored" label="Event-Stored / Event-Sourced">
Expand Down

0 comments on commit 6866739

Please sign in to comment.