Workshop in English - US at PHPBenelux Conference 2019
View Slides: https://slides.com/mirosvrtan/command-event-patterns-phpbnl19#/
Short URL: https://joind.in/talk/9509f (QR-Code (opens in new window))
Idea behind commands is to encapsulate all of the information needed for an action: making our domain less fragile and simple.
Event pattern help us decouple code and make it easily extendable: without modifying user registration process we can easily add more features like send ‘welcome SMS’ or ‘notify support to check new user’.
You will be building a small app using commands and events and you’ll see how nice and cool it is!