Es-sandbox
is simple Symfony
and CLI
application which simulates online shopping.
Model of this application was created with Event Sourcing
architectural pattern (see Event Sourcing Basics).
Es-sandbox
was built also with Command–query separation principle (see CQRS).
For handling a commands in simple way es-sandbox
uses command_bus
from SimpleBus.
Read more about es-sandbox
domain model:
This sandbox has also the target to test the integration between given components:
Presentations of which I get inspired:
There is a separate lib for communication with EventStore
via HTTP
, for more info see:
There are two way-s to install es-sandbox
:
- Installation with docker (recommended)
- Installation native
This application has CLI
entry points:
- Simulate shopping (Recording and writing events to a Stream)
- Render projection (Renders projection of recorded events)
In case when you installed es-sandbox
with Docker
then before executing of CLI
command you should connect to php
running container:
make php