Alternatives to REST

REST is arguably the most widely used architectural style across the Web and the IoT, but there are many other technologies, protocols, and architectural styles available to use for web services and single page web application data exchange.

TCP versus UDP

As mentioned earlier, TCP is the transport layer protocol upon which HTTP travels to the application layer. Some of the beneficial attributes of TCP connections are that they are reliable, serial, and checked for errors while sending information. These benefits, however, can sometimes lead to undesirable latency:

TCP versus UDP

The Internet Protocol Suite includes many other protocols alongside ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.