1 / 10

Reinventing Email using REST

Reinventing Email using REST. Anything addressable by a URI is called a resource GET, PUT, POST, DELETE WebDAV (MOVE, LOCK). Resources as collections?. Sending a Message Directly.

elda
Download Presentation

Reinventing Email using REST

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reinventing Email using REST

  2. Anything addressable by a URI is called a resource • GET, PUT, POST, DELETE • WebDAV (MOVE, LOCK)

  3. Resources as collections?

  4. Sending a Message Directly • An outgoing message has two parts. One is the actual content to be sent. It may be any kind of resource. The second is a notification that the content is available.

  5. Delegate Delivery • Once the recipient mailbox receives the notification, it would then turn around and do a GET on the message content to retrieve it. • Adding a Queuing Mailbox

  6. When a notification message is POSTed to the outgoing mailbox, it is given a unique URI and this is returned to the mail user agent. • The user agent may use this URI to allow the user to check on the progress of the message later.

  7. Progress information is part of the metadata managed by the outgoing mailbox. • There is no way to request status updates for messages in the current mail system, but this falls naturally out of the REST design because a GET (or perhaps even a HEAD) request on the URI would naturally return useful metadata about the message and progress information is useful metadata.

  8. Summary of REST Benefits • Re-use of standard server side tools like Apache, Squid, standard web resource search and management tools. • Compatibility with generic web client-side tools like browsers. Every web browser becomes a mailbox browser "for free". Web site management tools become mailbox management tools. • Integration of email namespace with Web namespace means that Web documents may refer to mail messages/mailboxes and vice versa. • Integration of email namespace with Web namespace would allow individuals to have one identifying URI per "persona" rather than a home page URI and a mailto: URI. This could be achieved today if mail programs could extract the appropriate metadata from a home page, but this kind of extraction is a core concept of REST: "hypermedia is the engine of application state." • Features of HTTP protocol become available to mail programs "for free" (e.g. security, caching, reliability extensions, etc.) • Implementing a mail user agent requires knowledge not of three protocols but of one: HTTP.

More Related