[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Exposing resources/services vs hiding implementation detai

  • To: "Michael Champion" <michaelc.champion@g...>,"xml-dev" <xml-dev@l...>
  • Subject: RE: Exposing resources/services vs hiding implementation details
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 5 Apr 2005 16:01:25 -0700
  • Thread-index: AcU6A2qezD71uxOoQdCPwpqAQj8ALwALLJ+A
  • Thread-topic: Exposing resources/services vs hiding implementation details

hiding a service
> -----Original Message-----
> From: Michael Champion [mailto:michaelc.champion@g...] 
> Sent: Tuesday, April 05, 2005 9:48 AM
> To: xml-dev
> Subject: Re:  Exposing resources/services vs hiding 
> implementation details
> 
> 
> Well, I'm just arguing the classic information hiding position, e.g.
> http://en.wikipedia.org/wiki/Information_hiding
> " hiding of design decisions in a computer program that are 
> most likely to change, thus protecting other parts of the 
> program from change if the design decision is changed."  I 
> would have to agree that security by obscurity is not 
> something to rely on, but I'm not sure I would agree that 
> advertising your internal architecture to potential hackers 
> is a great idea either.

It seems you are confusing domain models with internal architectures. 

> > If I turned your argument around and said there should be one 
> > self-joining uber-table (property values) or one uber-object 
> > (HashMap?) in a system it would surely be something to question. 
> > What's special about mapping a domain onto URL space that 
> we have to have one uber-URL?
> 
> The strawman version of my position is essentially SOA dogma 
> - expose the service and the service contract to the client, 
> hide everything else.  Whether the service is implemented as 
> an ubertable, an uberobject, or a nicely 
> normalized/decomposed system of both, or by an army of people 
> in a call center somewhere, is none of the client's business, 
> so long as they get the contracted service and the quality of 
> service they expect.  More importantly, the implementation 
> techniques can evolve without affecting the client.

And the service will still have a domain model because it will have to
describe what messages it sends back and forth. I don't see how this
differs from the REST case except the fact that with REST you get to
address such objects via URIs and gain a bunch of benefits from the Web
infrastructure. 

Can you clarify your position? 

--
PITHY WORDS OF WISDOM 
We make our friends. We make our enemies. God makes our next door
neighbor.    

This posting is provided "AS IS" with no warranties, and confers no
rights.  

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.