This project is archived
[POC] Broadway 0.3.0 in symfony2 (2.3.x) project.
If you want help me, fork and pull request or if you have already a fonctional example using MySQL Db for readmodel over Broadway, contact me.
Note : Use the tag name
command_handler
in service configuration for all your commande handler. Seesrc/Jb/TestBundle/Ressources/config/service.yml
in this repository.
composer install
Set db connection before execute this command.
app/console broadway:event-store:schema:init
The broadway/broadway library is very easy to use. I use only event_store in my first test but the simplicity of implementation of this part is encouraging.
For use the Doctrine ReadModel, init schema with this command :
app/console doctrine:migrations:migrate --em=readmodel
app/console assets:install
Go to URL <URL>/login
Fill form with user and password present in login page.
Open browser and access to this url <URL>/make/<texte>
for create a aggregate.
For update, use this url <URL>/update/<UUID>/<texte>
For get the uuid, read in event_store table with MySQL Client.