© Jesse Griffin 2021
J. GriffinDomain-Driven Laravelhttps://doi.org/10.1007/978-1-4842-6023-4_16

16. Services

Jesse Griffin1 
(1)
Spring Valley, CA, USA
 

I saved this chapter for this spot in the book because of the raw knowledge you need to fully make use of services. Creating services should be done with caution and precision, because the service layer has a tendency to become anemic, which is a fairly common occurrence that happens when too much business logic is placed in them, usually resulting in the core value objects and entities (the most important thing to get correct) being stripped of all the behavior that is symmetrically aligned with the very concerns and business logic that exists in the real-life domain. This isn’t a good thing because ...

Get Domain-Driven Laravel: Learn to Implement Domain-Driven Design Using Laravel now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.