News for hackers. Stuff that matters.
Re:Please consider the impacts of banning HTTP by lmm on Monday April 20, 2015 @06:03AM (#9407016)
> Yet I never see one acknowledge the existence of the other, which threatens it. In fact, I'd see people religiously support both, unaware of their cognitive dissonance.

Are you sure you're not just seeing different groups of people support one or the other? I support HTTPS-only and am more or less anti-REST.

Re:Please consider the impacts of banning HTTP by spacemanmatt on Monday April 20, 2015 @06:35AM (#9407122)
Curious, what could you have against REST, and is it only the JSON incarnation?
Re:Please consider the impacts of banning HTTP by lmm on Monday April 20, 2015 @06:57AM (#9407193)
I think the big advantage of "REST" was being easy to use from the browser, but modern REST (with e.g. content negotiation and HTTP verbs) actually goes against that. I think strict, automatically-checked schemata for APIs are very valuable, so I'd prefer to use something like thrift or even WS-* rather than REST.
Re:Please consider the impacts of banning HTTP by lloeki on Monday April 20, 2015 @08:34AM (#9407593)
> think strict, automatically-checked schemata for APIs are very valuable, so I'd prefer to use something like thrift or even WS-* rather than REST.

Strict, automatically-checked schemata for APIs are perfectly doable with REST, JSON or whatever Protobuf flavor. OTOH automatically-generated schemata behemoths have been created with SOAP and WS-* that I have very creative ideas about how to deal with and dispose of.

As for the easy-in-the-browser part (whether it is for tests or implementation), it was merely a side effect of reusing the HTTP spec semantics as a common-ground general purpose vocabulary. REST in itself doesn't even mandate HTTP.

Re:Please consider the impacts of banning HTTP by lmm on Monday April 20, 2015 @09:02AM (#9407738)
> Strict, automatically-checked schemata for APIs are perfectly doable with REST, JSON or whatever Protobuf flavor.

Up to a point, but having a single standard that's built into all the tooling is huge. Hopefully one or other approach will "win" in the REST world and we'll start to see some convergence.

> As for the easy-in-the-browser part (whether it is for tests or implementation), it was merely a side effect of reusing the HTTP spec semantics as a common-ground general purpose vocabulary.

Intended or otherwise, it was a big advantage, and I think it was the real reason for "REST"'s success.