20th*, 21st & 22nd February 2019 info@phpconference.co.uk @phpukconference

Video archive

Command and (e)mission Control

Video details

Speaker: Barney Hanlon
Length: 49:25

Description

Using event dispatchers and command buses in applications is becoming common place, but are we using them in a way that aids understanding? With the rise in popularity of Domain-Driven Design to drive meaning in applications, and our applications becoming increasingly small and “hexagonal”, the concept of defining the difference between an Event and a Command is becoming more important. This talk explores using command buses and event dispatchers in combination to clearly segregate the structure, and uses an example of how to use these to create clean CQRS-based applications.

Stay up-to-date with PHP UK

Enter your email address to join the PHP UK Conference mailing list and be the first to hear our latest news and announcements.