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

Re: Exposing resources/services vs hiding implementation detai


uche ogbuji gmail address
On Apr 5, 2005 4:29 PM, Jan Algermissen <jalgermissen@t...> wrote:


> 
> With the single-service approach I have something like this:
> 
> POST /myService
> 
> person-id: 778
> method-name: getAddress
> 
> ...service returns address....
>
> With REST you'd have: 
> GET /persons/778

What if I'm looking for John Smith  and don't know his person-id?  Or
whether it is Smythe or Smyth...  or Jon, or Jan ... or which office
he works in?   A centralized name disambiguation and forwarding
service would come in very handy.

Or, consider those acm.org forwarding addresses many of us use ... why
not expose the actual email address?    I suspect a) we don't want to
expose the real address to slimeball spammers, b) we want to be able
to keep the same logical address if one changes "implementation
details" such as employer, ISP, etc. c) we want a centralized point of
management (at acm.org) for this and other personal metadata we choose
to make public. Similar  reasons apply to the address example.

>  HTTP semantics define GET responses as cacheable, so any generic HTTP
> intermediary knows it can cache the response.
> 
> That improves scalability, IMHO.

*if* your users do far more read operations than create/update/delete
operations, and there is a high probability that a document that is
retrieved once will be requested again soon..  Very true on the Web. 
Not true for data enty applications.  Nightmarishly difficult in the
distributed read/write case.

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.