RE: Information hiding?

"Markus Lanthaler" <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <[email protected]>
> From REST, 5.2.1:
> 
> "allows information hiding through a generic interface"
> 
> I took a stab at a precise definition of "information hiding" but
> struck
> out.  What information is hidden from whom?  Anyone?

The server's implementation details are hidden from the client. RPC, e.g.,
usually exposes all the methods exactly in the way they are implemented by
the server. This tightly couples the client to the server's internals. REST
in contrast has a well defined interface so that the client doesn't (and
doesn't have to) know anything about the server's internals.


Cheers,
Markus


--
Markus Lanthaler
@markuslanthaler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.