concept web in category apache thrift

appears as: web
Programmer's Guide to Apache Thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.

REST is an acronym for REpresentational State Transfer, a term coined by Dr. Roy Fielding in his 2000 dissertation (https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm). REST is the typical means for web browsers to retrieve content from web servers. RESTful web services use the REST architectural style to leverage the infrastructure of the web. The well-understood and widely supported HTTP protocol gives REST-based services broad reach. REST-based services typically use the JSON format for payload transmission, making client/server requests human-readable and easy to work with.

RESTful services are unique in that their interfaces are based on resources accessed through URIs and manipulated through HTTP verbs, such as GET, PUT, POST, and DELETE. When done well, this is referred to as a Resource Oriented Architecture (ROA). ROAs produce significant benefits when scaling over the web. For example, standard web-based caching systems can cache resources acquired using the GET verb, firewalls can make more intelligent decisions about HTTP delivered traffic, and applications can leverage the wealth of technology associated with existing web server infrastructure. HTTP headers can negotiate payload formats, cache expirations, security features, and more. In-browser clients can leverage the native features of the browser, and the list goes on.

  • Install Node.js over the web (or use a package manager): http://nodejs.org
  • The world of web development has a fairly short list of communications options. The only original option for browser-based code to invoke server functionality was to load a page and all its dependencies over HTTP in one shot. In 1999 the Web became infinitely more programmable with the advent of XHR, offering the ability to make ad hoc requests for resources without a complete reload. It took another 11 years for the next major I/O feature, WebSocket, to arrive.