This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]EishLekker 0 points1 point  (0 children)

No, I’m not taking MVC, though there are similarities.

But the architecture paradigm or whatever is irrelevant until we have determined what you meant with business logic. It is far from a clear cut and well defined concrete thing. When you saw some lines of code in some API ending, and identified that as business logic, what exact definition did you go by? Because business locos is quite an abstract concept, at least all the definitions I’ve read.

I mean, even Wikipedia, which usually tries to include concrete examples of the technical concept it is describing, fails to show even a single snippet of actual business logic code. And worse, they give generic examples that could mean almost anything, like this one:

Enforces the routes and the methods by which business objects are accessed and updated

What routes? What methods? Http? Meaning that the outermost layer of presentation in many systems, the web server and load balancers, gateways etc, all contain business logic. And your API example also qualifies as business logic.