Getting started with Operations in Trailblazer
One of the most important aspects of Trailblazer is that your Models and Controllers should be very thin. Controllers should be lean HTTP endpoints, and your Models should only deal with associations and querying.
Trailblazer introduces Operations, which are classes that encapsulate the business logic around a given action of your application.
In today’s tutorial we are going to start to explore the concept of Operations in Trailblazer.
Post a comment