4 ms·
> nowadays most of the business logic is mostly on the frontend This is a design flaw imho and should not be used as a reason to motivate the use of such proje
by thedarkproject 9y ago
> nowadays most of the business logic is mostly on the frontend
This is a design flaw imho and should not be used as a reason to motivate the use of such projects. If your logic is in the frontend you should rather build a backend that captures the logic instead of just putting a rest layer on your DB and call it a day.
- denisw 9y agoUnless you are writing an app that should also work offline. In this case, most of your logic _must_ be your frontend, and your backend is mostly a data repository for data backup and synchronization. In such a scenario, database-as-an-API seems to be exactly the right approach.