The REST of the Web
Subject:   this is not REST
Date:   2005-04-29 05:56:13
From:   nferrier
Response to: this is not REST

"keep things as simple as possible"

simple where? you're servlet now has a facade to allow you to pretend that it is a RESTfull interface. It isn't a RESTfull interface, it is REST + some pollution.

sarissa (which I mentioned in my first note) is cross browser support for XmlHttpRequest so you don't need browser detection. Ok, you'd still be excluding lynx|links but were you including those anyway?

Complicating the client side a little is preferred in REST, the view being that life is complicated enough on the server already.

And you're article is titled "the REST of the web".

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • this is not REST
    2005-04-29 20:32:32  jrbriggs [View]

    Well, we'll have to agree to disagree, if you think that using javascript with sarissa is simpler than a standard html form. I don't
    see the use of a POSTed parameter, to subvert the http method at the server side, polluting the code as much as you seem to -- at least it's not setting an action directly within a URI (as Prescod notes in his Common Rest Mistakes).

    Do you have a reference discussing why client side complication is preferred for REST applications, because I've never come across anything with that recommendation. I'd certainly be interested in reading it.
    • this is not REST
      2005-04-30 14:27:51  nferrier [View]

      Roy Fielding's paper on architecture and REST: