4 ms·
Backend services are about more than serving data, wouldn't you say?
by ahvetm 7y ago
Backend services are about more than serving data, wouldn't you say?
- 7h3kk1d 7y agoMost are, but I have definitely worked on projects that weren't
- dpacmittal 7y agoWith front-end development getting increasingly popular, I think backend is starting to become just a thin wrapper around database. If database can be securely locked down enough, a lot of business logic can be shifted to the front-end.
- dvlsg 7y agoThen you can't use it across apps, though. Say for example you have a web front end, a mobile app, and a service receiving web hooks that all want to execute the same action. If you have that in a client layer, you'll be writing it 3 times. Moving logic to the client comes with pros, too (like being easier to work offline), but it definitely has downsides as well.
- al2o3cr 7y agoIf database can be securely locked down enough, a lot of business logic can be shifted to the front-end. Unless "locked down enough" includes "with all the business logic embedded in the DB", this is going to fail in exciting ways with technically-savvy users...