16
What do you call application modules that are responsible for business logic?
(self.experienced_devs)
A community for discussion amongst professional software developers.
Posts should be relevant to those well into their careers.
For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:
I'm not completely sure which classes you're talking about - but it sounds like the Business Process Layer
"Controllers" (in dotnet at least) is usually reserved for the class that initially intakes the http request after middleware (auth, modelbinding etc)
It's probably easier with a concrete example, so lets say the action is "Create User"
It depends on the rest of your architecture, but I usually start with a
UserController
- that takes all user related requests.To make sure the Controller doesn't get super big with logic, it sends it though mediatr to a
CreateUserCommandHandler
But it's a big vague which parts you're asking about..
Everything else you've described
Is "cross-cutting", "Data Access Layer", and "Service Agent Layer" maybe a bit "Anti-corruption Layer" - but there's a lot of other things in between that "do the needful"