SlideShare a Scribd company logo
Utilize
REST! Arinto Murdopo
      arinto@gmail.com
Less
       is
            More
REST is lighter
Transferring GOOG

SOAP      REST (0.1 SOAP)
Less
http://currencyConverter.com/
convert?=us-dollar
&value=100
&target=pound


                                Complexity
More
http://currencyConverter.com/
convert?=us-dollar
&value=100
&target=pound


                                Flexibility
No
http://currencyConverter.com/
convert?=us-dollar
&value=100
&target=pound


                                Envelope
More
                                 No
http://currencyConverter.com/
convert?=us-dollar
&value=100
&target=pound

                                Envelope
                                Security
Why Use “REST” Architecture for Web Services?

More Related Content

PDF
Perfect xchange
PDF
Rest in practice con Symfony2
PPTX
REST Architecture with use case and example
PPTX
Level 3 REST Makes Your API Browsable
PPTX
Make Your API Irresistible
PDF
Representational State Transfer (REST) and HATEOAS
PDF
REST - Representational State Transfer
PDF
RestFest - Designing an API for developer happiness
Perfect xchange
Rest in practice con Symfony2
REST Architecture with use case and example
Level 3 REST Makes Your API Browsable
Make Your API Irresistible
Representational State Transfer (REST) and HATEOAS
REST - Representational State Transfer
RestFest - Designing an API for developer happiness

More from Arinto Murdopo (20)

PDF
Distributed Decision Tree Learning for Mining Big Data Streams
PDF
Distributed Decision Tree Learning for Mining Big Data Streams
PDF
Next Generation Hadoop: High Availability for YARN
PPTX
High Availability in YARN
PDF
Distributed Computing - What, why, how..
PDF
An Integer Programming Representation for Data Center Power-Aware Management ...
PDF
An Integer Programming Representation for Data Center Power-Aware Management ...
PDF
Quantum Cryptography and Possible Attacks-slide
PDF
Quantum Cryptography and Possible Attacks
PDF
Parallelization of Smith-Waterman Algorithm using MPI
PDF
Dremel Paper Review
PDF
Megastore - ID2220 Presentation
PDF
Flume Event Scalability
PDF
Large Scale Distributed Storage Systems in Volunteer Computing - Slide
PDF
Large-Scale Decentralized Storage Systems for Volunter Computing Systems
PDF
Rise of Network Virtualization
PDF
Intelligent Placement of Datacenter for Internet Services
PDF
Architecting a Cloud-Scale Identity Fabric
PDF
Consistency Tradeoffs in Modern Distributed Database System Design
PDF
Distributed Storage System for Volunteer Computing
Distributed Decision Tree Learning for Mining Big Data Streams
Distributed Decision Tree Learning for Mining Big Data Streams
Next Generation Hadoop: High Availability for YARN
High Availability in YARN
Distributed Computing - What, why, how..
An Integer Programming Representation for Data Center Power-Aware Management ...
An Integer Programming Representation for Data Center Power-Aware Management ...
Quantum Cryptography and Possible Attacks-slide
Quantum Cryptography and Possible Attacks
Parallelization of Smith-Waterman Algorithm using MPI
Dremel Paper Review
Megastore - ID2220 Presentation
Flume Event Scalability
Large Scale Distributed Storage Systems in Volunteer Computing - Slide
Large-Scale Decentralized Storage Systems for Volunter Computing Systems
Rise of Network Virtualization
Intelligent Placement of Datacenter for Internet Services
Architecting a Cloud-Scale Identity Fabric
Consistency Tradeoffs in Modern Distributed Database System Design
Distributed Storage System for Volunteer Computing
Ad

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Presentation on HIE in infants and its manifestations
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Institutional Correction lecture only . . .
PPTX
master seminar digital applications in india
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Cell Structure & Organelles in detailed.
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Cell Types and Its function , kingdom of life
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
Presentation on HIE in infants and its manifestations
O5-L3 Freight Transport Ops (International) V1.pdf
Final Presentation General Medicine 03-08-2024.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Institutional Correction lecture only . . .
master seminar digital applications in india
Pharma ospi slides which help in ospi learning
Cell Structure & Organelles in detailed.
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
GDM (1) (1).pptx small presentation for students
A systematic review of self-coping strategies used by university students to ...
Computing-Curriculum for Schools in Ghana
Cell Types and Its function , kingdom of life
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Ad

Why Use “REST” Architecture for Web Services?

Editor's Notes

  • #2: Title: Utilize REST!I’ll start this presentation by asking you all.. How many of you does not know Twitter?Facebook?Amazon? Well as I expect, most of you know all the so called big boys in web service business. And how many of you think that their web service not extensible and not scalable? Yup, again most of you think that they’re extensible and scalable. And have you ever wondered by they can build such a system ? One of the reasons is they are using REST for the WS architecture?Now the next question is why REST? Why do the big boys use REST?The answer is..
  • #3: Why REST over SOAP?Because it needs less hassle to provide more things!Yes it is “Less is more!” remember it! And let me give you more explanation
  • #4: Shorter responses and request compared to SOAP.SOAP believer argues that strong typing of request and response are necessary, practically not. Client and Server in REST are designed such that they know the data type of request and response before hand, so strong type is not necesssary
  • #5: a four- or five-digit stock quote in a SOAP response could require more than 10 times as many bytes as would the same response in RESTRead more: http://geeknizer.com/rest-vs-soap-using-http-choosing-the-right-webservice-protocol/#ixzz1oC9XNOgyThat means REST is less bandwidth requirement which implies more speed for given content.
  • #6: Currency converter -> convert from USD with value of 100 and the target conversion is GBPWell known URI interface -> easy to be invoked by client -> easy to extend -> easy to modify to access certain resources in web server by the user of web service, ie. We can easily create a table of conversion rate by modifying the url and create a html page which invoke the modified url for each cell in the tableLess Complexity leads to More Simplicity and Flexibility
  • #7: Currency converter -> convert from USD with value of 100 and the target conversion is GBPWell known URI interface -> easy to be invoked by client -> easy to extend -> easy to modify to access certain resources in web server by the user of web service, ie. We can easily create a table of conversion rate by modifying the url and create a html page which invoke the modified url for each cell in the tableLess Complexity leads to More Simplicity and Flexibility
  • #8: Does not have envelope like SOAPFirewall can interpret the intent of the http request by analyzing the HTTP command used in the request. For example, a GET request can always be considered safe because it can’t, by definition, modify any data. It can only query data.A typical SOAP request, on the other hand, will use POST to communicate with a given service. And without looking into the SOAP envelope—a task that is both resource-consuming and not built into most firewalls—there’s no way to know whether that request simply wants to query data or delete entire tables from the database.
  • #9: Does not have envelope like SOAPFirewall can interpret the intent of the http request by analyzing the HTTP command used in the request. For example, a GET request can always be considered safe because it can’t, by definition, modify any data. It can only query data.A typical SOAP request, on the other hand, will use POST to communicate with a given service. And without looking into the SOAP envelope—a task that is both resource-consuming and not built into most firewalls—there’s no way to know whether that request simply wants to query data or delete entire tables from the database.