Commands and Domain Events
Published on by Eric L. Barnes
Laracasts is starting a new series on Commands and Domain Events:
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?
Eric is the creator of Laravel News and has been covering Laravel since 2012.