W3C home > Mailing lists > Public > public-web-http-desc@w3.org > June 2005

Re: Code generation or forms?

From: Mark Baker <distobj@acm.org>
Date: Tue, 14 Jun 2005 23:48:56 -0400
To: Stefan Tilkov <stefan.tilkov@innoq.com>
Cc: public-web-http-desc@w3.org
Message-ID: <20050615034856.GY20401@markbaker.ca>

Hi Stefan,

On Tue, Jun 14, 2005 at 07:39:14AM +0200, Stefan Tilkov wrote:
> Mark Pilgrim (http://diveintomark.org/projects) has numerous small  
> Python wrappers around popular "Web APIs". They don't do much you  
> couldn't do yourself, but they still provide a simplified view that  
> makes them very easy to use.
> 
> Code like this is IMO the standard example of what one could have  
> generated from a machine-readable description.

Really?  I wouldn't have thought so.  Let's take a closer look...

In PyAmazon[1] for example, I see code which basically hides the HTTP
interface from a developer behind a custom API of "browseBestSellers",
"searchBy*", and "searchSimilar" operations.  While this API may very
well be useful for developers, it's not something that a service
provider will provide, since they have no stake in what particular
local API any consumer of their service uses.

I mean, I assume that instances of this description language we're
talking about, would be something that service developers would publish,
right?

 [1] http://www.josephson.org/projects/pyamazon/

Mark.
-- 
Mark Baker.  Ottawa, Ontario, CANADA.          http://www.markbaker.ca
Coactus; Web-inspired integration strategies   http://www.coactus.com
Received on Wednesday, 15 June 2005 03:48:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:11 GMT