Оцените презентацию от 1 до 5 баллов!
Тип файла:
ppt / pptx (powerpoint)
Всего слайдов:
21 слайд
Для класса:
1,2,3,4,5,6,7,8,9,10,11
Размер файла:
516.26 kB
Просмотров:
60
Скачиваний:
0
Автор:
неизвестен
Слайды и текст к этой презентации:
№1 слайд![RestFul Services. Part .](/documents_6/1c433a662d7310209ca9876060df9693/img0.jpg)
Содержание слайда: RestFul Services. Part 2.
№2 слайд![Agenda What is Rest?](/documents_6/1c433a662d7310209ca9876060df9693/img1.jpg)
Содержание слайда: Agenda
What is Rest? Conceptual overview
Restful Web services
SOAP vs REST
High-level example: hotel booking
Technologies
Using HTTP to build REST Applications
№3 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img2.jpg)
№4 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img3.jpg)
№5 слайд![Conceptual Overview](/documents_6/1c433a662d7310209ca9876060df9693/img4.jpg)
Содержание слайда: Conceptual Overview
Representational State Transfer (REST)
Representational State Transfer (REST)
A style of software architecture for distributed hypermedia systems such as the World Wide Web.
REST is basically client/server architectural style
Requests and responses are built around the transfer of "representations" of "resources".
REST is centered around two basic principles:
Resources as URLs. A resource is something like a "business entity" in modelling lingo. It's an entity you wish to expose as part of an API. Almost always, the entity is a noun, e.g. a person, a car, or a football match. Each resource is represented as a unique URL.
Operations as HTTP methods. REST leverages the existing HTTP methods, particularly GET, POST, PUT, and DELETE.
№6 слайд![RESTful Web Service](/documents_6/1c433a662d7310209ca9876060df9693/img5.jpg)
Содержание слайда: RESTful Web Service definition
A RESTful Web service is:
A set of Web resources.
Interlinked.
Data-centric, not functionality-centric.
Machine-oriented.
Like Web applications, but for machines.
Like SOAP, but with more Web resources.
№7 слайд![SOAP](/documents_6/1c433a662d7310209ca9876060df9693/img6.jpg)
№8 слайд![A SOAP service has a single](/documents_6/1c433a662d7310209ca9876060df9693/img7.jpg)
Содержание слайда: A SOAP service has a single endpoint that handles all the operations – therefore it has to have an application-specific interface.
A RESTful service has a number of resources (the collection, each entry), so the operations can be distributed onto the resources and mapped to a small uniform set of operations.
№9 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img8.jpg)
№10 слайд![Hotel booking workflow Hotel](/documents_6/1c433a662d7310209ca9876060df9693/img9.jpg)
Содержание слайда: Hotel booking workflow
Hotel booking workflow
Retrieve service description
Submit search criteria according to description
Retrieve linked details of interesting hotels
Submit payment details according to selected rate description
Retrieve confirmation of booking
2b. Retrieve list of user's bookings
№11 слайд![search date, city search](/documents_6/1c433a662d7310209ca9876060df9693/img10.jpg)
Содержание слайда: search(date, city)
search(date, city)
list of hotels & rates
getHotelDetails(hotel)
hotel details
reserve(rate, creditCard)
confirmationID
getConfirmationDetails(confID)
confirmation details
listMyBookings()
list of confirmationIDs
№12 слайд![RestFull Services.](/documents_6/1c433a662d7310209ca9876060df9693/img11.jpg)
Содержание слайда: RestFull Services. Technologies
Todays’s set of technologies, protocols and languages used to apply RESTful paradigm:
HTTP as the basis
XML and JSON for data exchange
AJAX for client-side programming (e.g. browser)
№13 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img12.jpg)
№14 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img13.jpg)
№15 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img14.jpg)
№16 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img15.jpg)
№17 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img16.jpg)
№18 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img17.jpg)
№19 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img18.jpg)
№20 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img19.jpg)
№21 слайд![](/documents_6/1c433a662d7310209ca9876060df9693/img20.jpg)