Laracasts – Commands and Domain Events
Size: 199 MB
COST: Membership Site= Your Free
As you advance in your career, you’ll quickly fall into the “sequential tasks” trap. “I need to do these ten things when a user signs up…. but I have no idea where to place this logic.” Many times, we give up and simply throw it in the controller. But is that the best place? Might there be a better way (when appropriate) to structure our applications? Sure! Let me show you.
The Command Bus
Clean Event Listeners
Validation and Decorators
Extracting a Composer Package