Versioning RESTful Web Services

Peter Lacey Williams posts here and here on how to version RESTful Web Services using custom MIME media types and I find this very interesting. I do find the following quote about the browser a little curious:

They (browsers) are almost certainly not the target consumer of the services

If your web applications are RESTful in nature, then the browser is definitely the target consumer of them. So I’m not sure if Peter is suggesting that with services that return HTML as a content type, there aren’t versioning issues or that services that would face versioning issues generally do not use HTML as a content type.

Advertisements

About Ebenezer

culture hack. contrarian. change artiste. speaker. writer. silo-connector. entrepreneur. totally human. ff at your own risk. :-)
This entry was posted in Design and Architecture and tagged , , , . Bookmark the permalink.

3 Responses to Versioning RESTful Web Services

  1. The target consumer of most of the web services, REST or otherwise, I have ever created or used has not been the browser. Rather it is usually a custom program, or ten, consuming those services to do some other useful work for the organization.

    If you are creating a web application it should by all means support HTML representations. But if you are creating a REST/HTTP service it will almost certainly need more semantically rich representations of the resources it exposes.

    Oh and BTW, my name is Peter Williams not Peter Lacey. I am rather honored to have been mistaken for someone that smart and well written, though. 🙂

    Like

  2. Eb says:

    Ha. What a silly mistake! Thanks for your response.

    I guess I’m saying that Web Application can (and maybe should) be RESTful in nature and hence need to use (XHTML) which can probably be versioned just as XML or any other content type would be.

    Like

  3. Pingback: RESTful Versioning « Ka anyi kwuo okwu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s