Adam Bosworth:
The only real success story to date in the world of loose coupling is the Web itself. When people change the implementation of their sites, often in very fundamental ways, the browser continues to be able to browse the site. The reason this works is that the browser makes no assumptions about the site's implementation. The only thing the browser knows is the wire format (usually HTML) and the protocol.
Well, the only reason this works is because the browser does not, in fact, understand the semantic of what it is displaying. Rather, it is left to the most sofisticated machine of all -- a human brain -- to make heads and tails of it.
In this respect, there is no difference at all between the RPC view and the document-exchange view. In both you have a message exchanged between two parties. If the message exchange is to be successful, the intersection of how the sender comprehends the message and how the receiver regards it must be large enough to be useful, and not in contradiction with the unification of these two sets.
|