REST (Representational State Transfer) Service, is an interaction method used in the Web Services industry design model. REST is catching up with its more popular contemporary, the SOAP service.
REST uses a simpler less heavy style, unlike the XML driven services which weighs more due to the information it carries along with it.
Cutting it straight, REST links the HTTP method to the CRUD logic. (CRUD is CREATE/READ/UPDATE/DELETE).
The mapping goes as such:
To create a component: POST
To update a component: PUT (There are overrides in which this method can be used as a DELETE method)
To retrieve a component: GET
To delete a component: DELETE
Any person who is familiar with the DDL (Data Definition Language), DCL (Data CreationLanguage), DML (Data Manipulation Language) concepts in SQL will find many things common here. What can be observed here is that the high level behavioral attributes are almost the same.
POST ==:> Create
PUT ==:> Update
GET ==:> Select
DELETE ==:> Delete
Note: Please do not consider the POST/PUT/GET/DELETE from the REST service to be part of an SQL based system. It has been used here for mere comparison of its individual attributes.
That is for the day….. The next part of this is in its pipeline.