XREST Protocol

2,380 views
2,291 views

Published on

eXtensible RESTful Services Protocol

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,380
On SlideShare
0
From Embeds
0
Number of Embeds
356
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

XREST Protocol

  1. 1. eXtensible REST Services Protocol Plug-in Architectural Style for the Cloud http://xrest.googlecode.com
  2. 2. Protocol Objectives • Running the Web as Platform • Unify the Experience and Implementation of Programmable Web Services Pub/Sub Browser Blog Plug-in Social Twitter Desktop Network Plug-in ... Mail Your Tool
  3. 3. Protocol Model Clients: • Consume services on the host • Add plug-in references (extensions) to the host extension registry Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  4. 4. Protocol Model Hosts: • Restful application (HTTP: RFC2616) • Extension registry (AtomPub: RFC5023) • Callback to plug-ins (Web Hooks: http://webhooks.org) Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  5. 5. Protocol Model Plug-ins: • Receive callback parameters from the host • Can decorate the host response to the client. Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  6. 6. Protocol Runtime POST Plug-in A extension Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  7. 7. Protocol Runtime GET Plug-in A acknowledgement Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  8. 8. Protocol Runtime OK Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  9. 9. Protocol Runtime OK Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  10. 10. Protocol Runtime Browser Plug-in A Desktop Host Plug-in B ... Plug-in C The service has been extended
  11. 11. Protocol Runtime REST call Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  12. 12. Protocol Runtime Compute response Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  13. 13. Protocol Runtime POST response body + extension header Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  14. 14. Protocol Runtime Decorated response body Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  15. 15. Protocol Runtime Decorated response body Browser Plug-in A Desktop Host Plug-in B ... Plug-in C
  16. 16. Scheduling Asynchronous Callbacks: • May be executed concurrently • Cannot decorate the host response Synchronous Callbacks: • Sequential execution • Can decorate the host response • Flexible to failures
  17. 17. Resources Specification: http://tiny.cc/xrest Questions and feedbacks: xrest@googlegroups.com More infos: http://xrest.googlecode.com

×