Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Learn About Quickly Building REST Applications Using The Powerful RAD Server In Delphi/C++ Builder

Over a period of years lot of Web Architectural styles were introduced like, Pipe and filter, Uniform Pipe Filter and some hierarchical styles like client server, Client server stateless, cache, etc. But each style has equal strength and limitations which leads to a modern, scalable, stateless architectural style called REST which is widely adopted.

The Word REST is the Abbreviation of the Phase ‘Representational State Transfer’ is the Architectural Design Style introduced in year 2000 presentation by Roy Thomas Fielding one of the Co-founder of HTTP Specification.  Web services that conform to the REST architectural style, called RESTful Web services, provide interoperability between computer systems on the internet.

REST is not a standard or Protocol. Its a style of architecting a Application. REST provides a set of architectural constraints that, when applied as a whole, emphasizes scalability of component interactions, generality of interfaces, independent deployment of components, and intermediary components to reduce interaction latency, enforce security, and encapsulate legacy systems. The constraints are,

REST Elements :

The key abstraction of information in REST is a resource.  More precisely, a resource R is a temporally varying membership function MR(t), which for time t maps to a set of entities, or values, which are equivalent. The values in the set may be resource representations and/or resource identifiers. A resource can map to the empty set, which allows references to be made to a concept before any realization of that concept exist.

REST uses a resource identifier to identify the particular resource involved in an interaction between components. REST connectors provide a generic interface(CURD) for accessing and manipulating the value set of a resource, regardless of how the membership function is defined or the type of software that is handling the request. 

A representation is a sequence of bytes, plus representation metadata to describe those bytes. Other commonly used but less precise names for a representation include: document, file, and HTTP message entity, instance, or variant.

Individual resources are identified in requests, for example using URIs in RESTful Web services. The resources themselves are conceptually separate from the representations that are returned to the client. For example, the server could send data from its database as HTML, XML or as JSON—none of which are the server’s internal representation.

REST Advantages :

Watch this below Video to know about RAD Server for REST Delphi/C++ Builder Demonstration.

RAD Server for REST Delphi

Exit mobile version