Answer the question
In order to leave comments, you need to log in
What is the service layer pattern for?
Hello, please tell me what is such a design pattern as a service layer (service layer)? What is it for?
Answer the question
In order to leave comments, you need to log in
It is needed in order not to violate the DRY SOLID principle (do not copy-paste the code) and to separate some application logic into a separate service class.
Saves a little from shitty code in small applications, but not much (read about DDD).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question