W3C home > Mailing lists > Public > public-web-http-desc@w3.org > April 2006

Re: Service Versioning

From: Mark Baker <distobj@acm.org>
Date: Fri, 28 Apr 2006 12:38:03 -0400
Message-ID: <c70bc85d0604280938x472169fbr7f41091e218cb8b9@mail.gmail.com>
To: "Mark Nottingham" <mnot@mnot.net>
Cc: public-web-http-desc@w3.org

Do you have a use case for this, Mark?

On 4/27/06, Mark Nottingham <mnot@mnot.net> wrote:
>
> Just thinking out loud -- not sure if this is a good idea or not.
>
> What if components were labelled with an indication of the revision
> of the service that they were introduced with?
>
> E.g.,
>
> <resource introduced="/revision/1">
>     <method name="GET">
>       ...
>     </method>
>     <method name="POST" introduced="/revision/2">
>       ...
>     </method>
> </resource>
>
> with rules for appropriate defaulting, etc. "introduced" probably
> isn't the best name, but gets the idea across; the value should be a
> URI-reference.
>
> This would allow clients to query the service for what revision it
> implements, and then know what (backwards-compatible) changes are
> implemented; it wouldn't have to optimistically try to POST, for
> example.
>
> In doing so, backwards-compatible changes (e.g., adding methods,
> adding representations, adding resources, adding optional query args)
> could be layered into descriptions without losing information about
> when they were introduced.
>
> Thoughts?
>
> --
> Mark Nottingham     http://www.mnot.net/
>
>
>
Received on Friday, 28 April 2006 16:38:13 GMT

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