3 ms·
If by "an API" you mean "JSON sent over the network" then I don't really see too much of an advantage in: database -> server side program -> JSON -> network ->
by mkleczek 3y ago
If by "an API" you mean "JSON sent over the network" then I don't really see too much of an advantage in:
database -> server side program -> JSON -> network -> client side program -> HTML -> browser renderer
over
database -> server side program -> HTML -> network -> browser renderer
- jfengel 3y agoThe main advantage is when you have degraded connectivity. Your client app behaves like an app (or app-like web site).