Why Restful
Upcoming SlideShare
Loading in...5
×
 

Why Restful

on

  • 416 views

 

Statistics

Views

Total Views
416
Views on SlideShare
416
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Why Restful Why Restful Presentation Transcript

  • WHY RESTFULDEVELOPMENTRepresentational State Transfer.
  • Web services!Web Services can convert your applications intoWeb-applications.1. SOAP(Simple Object Access Protocol) /XML-RPC => communication2. REST => communication + standardisation
  • What is REST1. Everything is a resource2. REST-style architectures conventionally consist ofclients and servers.3. Clients initiate requests to servers; servers processrequests and return appropriate responses. Requestsand responses are built around the transfer ofrepresentations of resources.4. A resource can be essentially any coherent andmeaningful concept that may be addressed
  • Action URL HTTP MethodHowever, the HTTP protocol defines eight methods, GET, POST, PUT,DELETE, HEAD, TRACE, OPTIONS, and CONNECT. REST is concerned withthe first four of these methods, GET, POST, PUT, and DELETE. These are themethods that a RESTful web application will use to manipulate resources.● GET maps to show -> get /teams/:id● PUT maps to update -> put /teams/:id● DELETE maps to destroy -> delete /teams/:id● POST is a bit of an exception, since the resource is notyet existent thus it maps to the base /teams
  • The 3 tiered REST architecture
  • ThanksEmail: dotnand@gmail.com