3 ms·
> Business logic should not happen at API boundaries You're right, but the original post seems to believe there are only three layers: frontend, API, database.
by pavel_lishin 6y ago
> Business logic should not happen at API boundaries
You're right, but the original post seems to believe there are only three layers: frontend, API, database. They haven't left any place for business logic at all, except maybe in the way the front-end would write the SQL queries. (Which I think is a terrible approach.)
- eyelidlessness 6y agoYou’re right too. And ultimately it moves the business logic to the frontend, and likely causes that layer to accrue the separations of concern most of us associate with “backend”. It has to live somewhere.