W3C home > Mailing lists > Public > xml-dist-app@w3.org > February 2002

Re: SOAP & REST

From: Mark Baker <distobj@acm.org>
Date: Wed, 6 Feb 2002 23:23:24 -0500 (EST)
Message-Id: <200202070423.XAA03692@markbaker.ca>
To: noah_mendelsohn@us.ibm.com (Noah Mendelsohn)
Cc: mnot@mnot.net ('Mark Nottingham'), skw@hplb.hpl.hp.com (Williams Stuart), xml-dist-app@w3.org
> The only difference I see per web architecture between
> 
> http://numbers.com/multiply?inputnumber1="3"+inputnumber2="4"
> 
> and 
> 
> http://numbers.com/?operation="multiply"+inputnumber1="3"+inputnumber2="4"
> 
> is that we can guess that to implement both multiplication and division, 
> the first style would result in two separate parameterized web resources 
> (a multiplying resource, and a dividing resource) while the second would 
> use a single parameterized resource (an arithmetic resource).  I don't see 
> the two as deeply different from a web architecture point of view.

The difference is that in the former form, a user doesn't know whether
the operation being performed is multiplication or division.

In the latter form, the client is required to specify the desired
operation.

MB
-- 
Mark Baker, Chief Science Officer, Planetfred, Inc.
Ottawa, Ontario, CANADA.      mbaker@planetfred.com
http://www.markbaker.ca   http://www.planetfred.com
Received on Wednesday, 6 February 2002 23:34:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:06 GMT