small medium large xlarge

Generic-user-small
21 Aug 2008, 12:37
Lukas (7 posts)

After reading footnote 6 on page 426 (in the pdf version B1.4) I am wondering if RoR has an implementation of REST that works without Java Script?

Samr_small_pragsmall
21 Aug 2008, 13:25
Sam Ruby (634 posts)

The answer to that question is both yes and contained in that footnote; but the reality is that while the answer is easy, the question itself is difficult.

It comes down to what the definition of REST is. As luck would have it, I’m the co-author of a “book on the subject”:http://oreilly.com/catalog/9780596529260/, but instead of trying to sell you on that book, here’s a “relevant post on the subject”:http://www.crummy.com/2008/08/18/0 that I would recommend.

If, instead, your question is whether or not HTML alone is currently sufficient to cause PUT and DELETE HTTP requests to be generated, the answer is no, but it appears that this may be added to HTML5.

You must be logged in to comment