2 ms·
Each of the constraints brings some advantages to the system. To me, the most important is the decoupling of the client from the server. I think this doesn't s
by icebraining 15y ago
Each of the constraints brings some advantages to the system. To me, the most important is the decoupling of the client from the server.
I think this doesn't seem that important because we still code each client against particular API, but we could adopt true uniform APIs - by not only using the HTTP methods and following HATEOAS, but by also standardizing on data formats that are widely adopted¹ - we would be able to write much more generic clients that could work with different APIs, perhaps even with ones not considered by the developer, without wasting hours upon hours writing code against each service.
¹ No, JSON isn't a standard data format, but more a standard serialization format. You still have to manually code against each service's response types.