3 ms·
> What is the need for a client to have no knowledge of the server, if the server can also provide logic that can run on the client It's a measure of decouplin
by zmmmmm 4y ago
> What is the need for a client to have no knowledge of the server, if the server can also provide logic that can run on the client
It's a measure of decoupling I think. If your client started out with no knowledge of the server and still managed to work, then it will still work even when the server is upgraded, restructured, etc etc.
Of course, having every client just started at the root URL and then navigate its way to what it needs by effectively spidering the server just aint practical in any meaningful sense. But in small ways and critical places it is still possible to follow this pattern, and to the extent you do, in return you get a level of decoupling that is a useful property to have.