Basic CQRS and Event Sourcing with Prooph

Comments

Comments are closed.

Miro Svrtan at 15:36 on 23 Jun 2016

I'm trying to learn on other peoples experiences (good and bad ones) while trying out ES/CQRS on my own and really liked this workshop.

I have few suggestions:
1) show best practices from the start (there were more than few occasions with comments 'Dont do it like this in prod' and doing it right really wouldnt take so much more time)
2) full day workshop. While this is really nice intro, it would bring a lot more value if we got a chance to dig bit deeper into it (especially to be able to get more info on prooph itself).

Hey Miro:

> 1) show best practices from the start (there were more than few occasions with comments 'Dont do it like this in prod' and doing it right really wouldnt take so much more time)

Not possible for a basic tutorial showing just the base concepts, and also hoping to get things done for a tutorial, sadly...

> 2) full day workshop. While this is really nice intro, it would bring a lot more value if we got a chance to dig bit deeper into it (especially to be able to get more info on prooph itself).

Would love to, but I'm unable to hold a full-day tutorial about it without some more complex domain or a radical shift to "advanced" stuff. The complexity of CQRS+ES for complex setups (with async involved) can easily increase by a lot, and that means spending hours and hours debugging problems. Unlikely gonna happen in even 2 days of workshop. The 3 hrs format is good enough for a "getting started", and I left out the framework bits on purpose, avoiding having to do much debugging from a participant perspective. As soon as debugging is involved, required time expands too much to get anywhere that you'd still consider "useful" and not just frustrating...

Vladas Dirzys at 13:26 on 24 Jun 2016

Loved the talk. Would like to see a real world example with real world problems, but I agree that that would be too much for the workshop. Also liked that there was a second guy to help with the problems, so that the workshop could go on without stopping to much.

It was a very cool workshop with clear examples and rules of using CQRS. Even for Senior Developers it was very interesting to see and to structure the information about ES/CQRS. There was also a nice assistance from James Titcumb. However, the most interesting part with projections was very quick because of time limits.

James Titcumb at 14:01 on 25 Jun 2016

Trying not to be biased, as I mainly came to learn things but ended up helping out; however I did learn about the basics here and made things much more clear for me with CQRS+ES. Thanks!

Fantastic tutorial on Event Sourcing. Would have liked an all day version.

Rob ter Haar at 23:11 on 26 Jun 2016

Very good tutorial for a start. Have to look into this lib more to see the whole thing.

For a cqrs and php7 newbee very complicated. But i have a point to start now.

Tnx

Nic Wortel at 08:54 on 27 Jun 2016

Heaving heard a lot already about Event Sourcing and CQRS, but never gotten to the point of actually implementing it in a project, this was a great practical introduction. Also a nice introduction to Prooph. Thank you!

Mark Redeman at 11:41 on 27 Jun 2016

Great workshop, though I did miss the testing part of an event sourced system.
I'm not sure if 3 hours for a basic workshop would be enough to introduce testing so I won't base the rating on that =).

Having tests for the event handlers and projectors will probably be a bit too complicated, but I do think that one of the big benefits of event sourcing is that your aggregates are really easy to test.
Perhaps for a next workshop you could give the participants some initial tests and let them decide on whether they want to work with the tests.

All in all a great workshop to get into the basics of CQRS and Event Sourcing.

Awesome workshop. Very good explanation of what cqrs and event sourcing are and how they fit together.
The example code was well thought out and easy to work with.