Your SlideShare is downloading. ×
0
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
TechTalk#3: REST
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

TechTalk#3: REST

136

Published on

Share our experience working with RESTful architecture. …

Share our experience working with RESTful architecture.

By Alexey Pakholkov

Read more about this and other techtalks in DA-14's blog: http://da-14.com/our-blog/

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

  • Be the first to like this

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. RestFul Aleksey Pakholkov aleksey.pakholkov@gmail.com
  • 2. API 1. SOAP 2. XML-RPC 3. REST
  • 3. RestFul? Не, не слышал...
  • 4. Roy Fielding Roy Thomas Fielding (born 1965) is an American computer scientist, one of the principal authors of the HTTPspecification, an authority on computer network architecture and co-founder of the Apache HTTP Server project.
  • 5. Why REST? ● Scalability ● Generality ● Independence ● Caching ● Security ● Stateless ● Format(HTML, XML, JSON)
  • 6. Richardson Maturity Model Level 0 Level 1 - Resources Level 2 - HTTP Verbs Level 3 - Hypermedia Controls
  • 7. Level 0 HTTP to tunnel RPC
  • 8. Level 1: Resources
  • 9. Level 2: HTTP verbs
  • 10. Level 3: Hypermedia controls
  • 11. HTTP Method ● GET ● POST ● PUT ● PATCH ● DELETE ● api/resource[/:id]
  • 12. Hypertext Application Language { "_links": { "self": { "href": "http://bc1.loc/api/v1/users/1/buildings/1/messages" } }, "_embedded": { "messages": [ { "id": 128, "subject": "Test Create 16-10", "_embedded": { "lastPost": { "id": 51, "body": "12312123", ................... }, "_links": { "self": { "href": "http://bc1.loc/api/v1/users/1/messages/128/posts/51" } } }, ...........................
  • 13. Example
  • 14. ….Cloud ● AbstractRestfulController ● PhlyRestfully ● CustomRestfully
  • 15. Problems ● Authentication ● ???
  • 16. Questions

×