Hi. Is it bad practice to create service classes that do not use a api or database, but only business logic? Thanks!
2/7/2018 5:09:01 AM
Michael Vorm Jensen1 Answer
New AnswerAs far as I'm aware, this is good practice. We often have a Service/DAO layer, the DAOs job is to interact with the database - the service will use the results handed to it by the DAO to apply business logic, good example of the Single Responsibility Principal
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message