Evolution of API's and Web services

Mridul DekaMridul Deka
1 min read

Table of contents

https://hashnode.com/post/cm0nugivk000i09jqckhgaw8h

How internet works

Client server architecture

Can there be one server only ?

Think of data transferred between client and server

Static data : Image, files and text. Example : blogs, Articles

Dynamic data : Example : Airplane prices in Make my Trip, New events in Book My show.

How dynamic data is generated and retrieved

Client generally uses browser for web interface. Client code can be written in HTML, Javascript engines.

Application server runs dynamic web application programs written in Java, C# , Python, GoLang frameworks like .Net, Spring, Django.

API

Enable two software components to communicate with each other using set of definitions and protocols.

SOAP API’s : Simple Object Access Protocols : Client interacts with server via XML.

RPC API’s : Remote procedure calls.

Websocket API’s

REST API’s.

Services made available to application by underlying service provider.

API are separated from services that provide them.

API should be pluggable.

REST

Representational State Transfer.

Architectural style for distributed hypermedia systems.

API developer can implement REST in many ways.

REST is type of API. Not all API’s are REST.

0
Subscribe to my newsletter

Read articles from Mridul Deka directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mridul Deka
Mridul Deka

I am a software developer who likes exploring new things, contribute back to community.