20. Appeal to Authority
An appeal to authority or argument by authority is a type of argument
in logic consisting on basing the truth value of an assertion on the
authority, knowledge, expertise, or position of the person asserting it.
–Wikipedia
21. Roy T. Fielding, Ph.D.
• Co-founder, chairman of the Apache Software
Foundation
• Co-founder of the Apache HTTP Project
• On IETF working groups for HTTP, URI, and HTML
• Architectural principal on HTTP working group
• First name on HTTP spec
• Originator of REST
22. Sam Ruby
• Board member of the Apache Software Foundation
• Co-chair of W3C’s HTML Working Group
• Co-creator of the Web Feed Validator
• Originator of Atom
• Secretary of the IETF’s AtomPub working group
• Co-author of “RESTful Web Services”
28. Resources
A resource can be practically anything.
• A blog post
• A collection of blog posts
• An image
• A user
• Map coordinates
• A bank transaction
• Search results
36. HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Greg's Blog: My First Blog Post</title>
</head>
<body>
<article>
<header>
<h1>My First Blog Post</h1>
<p>By Greg Hines</p>
</header>
<p>This is my first blog post. Woo.</p>
<footer>
<p>Posted on February 2, 2012 at 12:18 PM</p>
<ul class="tags">
<li><a href="/tags/awesome">awesome</a></li>
</ul>
<p><a href="/entries/2012/02/my-first-blog-post">permalink</a></p>
</footer>
</article>
</body>
</html>
37. JSON
{
"uri": "/entries/2012/02/my-first-blog-post",
"title": "My First Blog Post",
"author": "/users/greg",
"created": 1328728680,
"content": "This is my first blog post. Woo.",
"tags": [
"/tags/awesome"
]
}
39. Addressability
Every resource has at least one URI;
every URI points to a resource.
http://example.com/entries/2012/02/restful-web-services
http://example.com/tags/awesome
http://example.com/