Being flexible to changes in business process makes our jobs easier, and it helps our applications adapt to those changes with minimal code changes. One of the biggest adaptions in our applications has been the addition of Events to make a note of an Event in the system. With these Events, we can affect change immediately, or even later. This is most helpful in our reporting interfaces. We can build, change, and throw away our reports very easily. This is much easier than our older reports being generated by large SQL queries.

Attendees will learn:
- idealogical differences between status flags and events
- triggering events in your application
- handling events to reflect the state of your application data
- building reports from events that are easy to change

Comments

Comments are closed.

Thank you! This is one of the best PHP talks I've attended. I am aware of event sourcing and was very intrigued by Apache Samza https://www.confluent.io/blog/turning-the-database-inside-out-with-apache-samza/, but haven't been able to translate those concepts into something practical that you could do in PHP or see good use cases for it.

This talk did a great job of showing a not-so-common concept that is complex in a very clear way with good and relatable examples. This talk was fantastic!

Robert Radtke at 13:57 on 18 Mar 2017

Good overview - I would have liked to see a simpler example built up from scratch rather than trying to follow the complex existing application.

Nic Steenhout at 14:04 on 18 Mar 2017

Good review of concepts and specific code samples. The handwritten/drawn slide images were refreshing

It's pretty rare to get a comprehensive talk about the implementation of a complex design pattern. I have never heard of event sourcing and appreciated learning about the context for using it and being able to see some of the implementation details.

Brian Fenton at 15:07 on 18 Mar 2017

Covered the principles and value of event sourcing without going too deeply (it's a giant topic). Speaker's voice was kind of swallowed a bit by the large room, maybe a microphone positioning thing?

Code samples could have been trimmed down a bit I think. A lot of namespace declarations and such that didn't add much to the core concept

Anonymous at 09:34 on 20 Mar 2017

I liked the hand-drawn slides, and I thought the example was very good. One of my favorite talks of the conference.

Caitlin Bales at 14:59 on 20 Mar 2017

I didn't know very much about event sourcing before this talk and was glad to learn about accomplishing this in PHP.

Becky at 19:45 on 20 Mar 2017

There was a lot of information to digest in this talk. It was more involved than I thought it was going to be, but that's not necessarily a bad thing.

Andy Snell at 13:38 on 21 Mar 2017

I've been very interested in event sourcing since listening to the first discussion about it on the PHP Roundtable podcast, but I had never seen in in the wild before. It was really nice to see how the concept is used in production with real code, not just a made up example.