Connecting to Roots… Hypermedia REST calls.

This post deals with me connecting to the roots as well. My past is so much tangled with web, its kith and kin. Yea I am going to talk about trends of web in this current post. Web seems to grow at an unimaginable pace. Six months past, things that were considered to be breakthroughs are no longer cutting edge. Emergence of disparate platforms (in the form of mobile devices, tablets etc,) is pushing back to adopt technologies that are agnostic, prevalent and is acceptable to the norms of all the systems aforementioned. As a result industries are embracing HTTP as the default protocol and tweaking in granular ways to come up with myriad of technologies that are fundamentally, the one and the same. The era of web/SOAP services got supplanted by era of REST and now increasingly we are heading towards hypermedia REST calls.  Isn’t that what HTTP supposed to do?  We will get the answer below- Extract from wiki: “Hypermedia is used as a logical extension of the term hypertext in which graphics, audio, video, plain text and hyperlinks intertwine to create a generally non-linear medium of information.
What are hyper media systems?” – Systems that transacts hyperlink over application protocol, which represents the resource in the server (a resource can be html file or xml file or unit of data storage etc.,), to the client and in consequence maintains a collation of links.
What are the advantages? Is this a seminal work? – The argument here is, the client need not keep track of the links, and rather, the server updates the client with adhoc hyperlinks, as when the request is made. I remember few years back, hard coding workflow of certain operations in the client system. This can be effectively avoided using the hypermedia rest services.
Example format:

<order xmlns=″http://schemas.designnutcracker.com″>

<location>sanfrancisco</location>

<item>

<name>kappi</name>

<quantity>1</quantity>

<milk>whole</milk>

<size>small</size>

</item>

<cost>2.0</cost>

<status>payment-expected</status>

<payment>https://designnutcracker.com/payment/1234</payment&gt;

</order>

Leave a comment