I am creating a web api application. I was wondering how to best name a use case layer. One option is to use uncle-bean interactions, as described here: Interactors
Another option is to use the command template, as described here: Command line
The main difference between the solutions, at least from my understanding, is that in the solution for interactors the controller does not know the handler, it just sends a request, and some kind of interactor will complete the task, and the command option requires a controller to invoke the command.
What do you think is the best solution?
Tsahi source
share