Hey, currently I just give my Endpoint (think ktor and similar) a repository object. Now I want to put something in between because most calls need to do more than just save to repo, like auditing, sending MQTT, etc. What would you call that? Handler is a bit generic I feel.
d
David Kubecka
03/27/2024, 11:19 AM
For example in the Spring world such a component is called "Service".
h
Hildebrandt Tobias
03/27/2024, 1:06 PM
Hmm, yes I guess this is what it's going to be. It doesn't fit 100% I feel, but in the End it's just a name. Thank you.
r
ribesg
03/28/2024, 8:59 AM
Wouldn't that be Use Cases in Clean Architecture? Or in the PHP world, an Action