Implementing CQRS in Elixir CQRS Elixir
An introduction to implementing the Command Query Responsibility Segregation (CQRS) architecture in Elixir applications.
The guide describes how the following libraries have been designed. Allowing you to build your own Elixir applications adhering to the principles of CQRS/ES architecture.
- Building functional, event-sourced domain models using eventsourced.
- Using the eventstore to persist events to a PostgreSQL database.
- Command registration and dispatch; delegation to aggregate roots; event handling; and long running process managers using commanded.
The reader should be familiar with the Elixir programming language and the basic principles of domain-driven design.