6 ms·
>You can choose to follow the style (which is so much more than naming methods and URIs) or fight it. And most people chose to ignore it -- and implement RESTf
by coldtea 10y ago
>You can choose to follow the style (which is so much more than naming methods and URIs) or fight it.
And most people chose to ignore it -- and implement RESTful (mostly unrelated to REST as described by Roy) APIs, and no much harm has befallen them.
- alganet 10y agoIgnoring the dissertation is OK. It was designed for people to understand how the web was designed, not as an implementation guide. Ignoring REST is impossible, the web is built on it. - The uniform interface is in every URI (if you use them, you use REST). - The code-on-demand constraint is everywhere (if you use JavaScript, you're using REST). - Hypermedia is everywhere (if you have links on your web page, you're using REST). - The client-server constraint I don't even have to bother explaining (although WebRTC might bring P2P back in the game). - The layering is everywhere (if you do haproxy, varnish, squid or similar, your using REST). The _RESTful API_ thing is just a myth. People needed a name to discourage tunneling RPCs over HTTP, so they invented these loosely defined terms to push the idea. It should be called HTTPful, because it tells more about avoiding re-implementing HTTP features than it tells about the REST style.
- deleted 10y ago[deleted]