Your SlideShare is downloading. ×
0
Why use REST for web services?           Zafar Gilani
• Representational State Transfer  – URL = object  – HTTP GET to query an object  – HTTP POST, PUT or DELETE to modify obj...
• REST is platform and language independent• REST is light-weight  – Not a lot of XML markup. 10x less amount of data.  – ...
• If need be, functionality can be formally and  properly defined  – Outline input parameters and output data.• Otherwise ...
• SOAP sending RPC calls through HTTP ports is  a major security loophole  – Admins and firewalls should be able to discer...
So, what do you think?
Upcoming SlideShare
Loading in...5
×

2 rest-elevator-pitch

176

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
176
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "2 rest-elevator-pitch"

  1. 1. Why use REST for web services? Zafar Gilani
  2. 2. • Representational State Transfer – URL = object – HTTP GET to query an object – HTTP POST, PUT or DELETE to modify object• Goals: – Scalability of component interactions – Generality of interfaces – Independent deployment of components What is REST?
  3. 3. • REST is platform and language independent• REST is light-weight – Not a lot of XML markup. 10x less amount of data. – SOAP wraps each request and response. – Concise, no need for additional messaging layer.• Human readable results• No toolkits required, easy to work with• REST reads are cache-able, SOAP’s aren’t REST vs SOAP
  4. 4. • If need be, functionality can be formally and properly defined – Outline input parameters and output data.• Otherwise a simple human readable definition would do! WSDL compatible
  5. 5. • SOAP sending RPC calls through HTTP ports is a major security loophole – Admins and firewalls should be able to discern intent of HTTP messages.• REST follows philosophy of the WWW – Hypertext documents linked together and accessible via the Internet. Security
  6. 6. So, what do you think?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×