REST, the internet as a database?
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

REST, the internet as a database?

on

  • 2,967 views

Is REST turning the internet into one big distributed database? A look at some of the developments around REST, LinkedData and internet query engines.

Is REST turning the internet into one big distributed database? A look at some of the developments around REST, LinkedData and internet query engines.

Statistics

Views

Total Views
2,967
Views on SlideShare
2,811
Embed Views
156

Actions

Likes
2
Downloads
24
Comments
1

5 Embeds 156

http://www.andrejkoelewijn.com 147
http://www.slideshare.net 5
https://www.linkedin.com 2
http://localhost 1
http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

REST, the internet as a database? Presentation Transcript

  • 1. REST, het web als database? Ron van Weverwijk Andrej Koelewijn
  • 2. package com.sun.ws.rest.samples.helloworld.resources; import javax.ws.rs.GET; import javax.ws.rs.Produces; import javax.ws.rs.Path; // The Java class will be hosted at the URI path quot;/helloworldquot; @Path(quot;/helloworldquot;) public class HelloWorldResource { // The Java method will process HTTP GET requests @GET // The Java method will produce content // identified by the MIME Media-type quot;text/plainquot; @Produces(quot;text/plainquot;) public String getClichedMessage() { // Return some cliched textual content return quot;Hello Worldquot;; } }
  • 3. Wat is REST?
  • 4. Rest Eigenschappen
  • 5. 1. Geef alles een ID
  • 6. 2. Link naar je afhankelijkheden
  • 7. 3. Gebruik de standaard HTTP  Methoden
  • 8. 4. Stel je data in verschillende  formaten beschikbaar
  • 9. 5. Communiceer zonder status
  • 10. Architectuur Impact
  • 11. LinkedData
  • 12. <h2>About Dries</h2> <div class=quot;contentquot;> <div about=quot;#mequot; typeof=quot;foaf:Personquot;> <a href=quot;http://buytaert.net/images/blog/dries-buytaert-large-bw.jpgquot; rel=quot;foaf:imgquot;> <img src=quot;http://buytaert.net/images/blog/dries-buytaert-small-bw.jpgquot; alt=quot;Avatar of Dries Buytaertquot; style=quot;display: block; margin-left: auto; margin-right: autoquot; /> </a> <p> <span property=quot;foaf:namequot;>Dries Buytaert</span>is passionate about the <span property=quot;foaf:interestquot;>web</span>, <span property=quot;foaf:interestquot;>open source</span>and <span property=quot;foaf:interestquot;>photography</span>. He is the original creator and project lead of <a href=quot;http://drupal.orgquot; rel=quot;foaf:currentProjectquot;>Drupal</a>, an open source social publishing system. He is co-founder and chief technology officer of <a href=quot;http://acquia.comquot; rel=quot;foaf:workplaceHomepagequot;>Acquia</a>, a venture-backed software company that offers products and services for Drupal. Dries is also working on <a href=quot;http://mollom.comquot; rel=quot;foaf:workplaceHomepagequot;>Mollom</a>, a service that helps you identify content quality and that stops website spam. People often laugh at his hair but he is cool with that. <a href=quot;/resumequot;>More about Dries ...</a></p> </div> </div>
  • 13. <h2>About Dries</h2> <div class=quot;contentquot;> <div about=quot;#mequot; typeof=quot;foaf:Personquot;> <a href=quot;http://buytaert.net/images/blog/dries-buytaert-large-bw.jpgquot; rel=quot;foaf:imgquot;> <img src=quot;http://buytaert.net/images/blog/dries-buytaert-small-bw.jpgquot; alt=quot;Avatar of Dries Buytaertquot; style=quot;display: block; margin-left: auto; margin-right: autoquot; /> </a> <p> <span property=quot;foaf:namequot;>Dries Buytaert</span>is passionate about the <span property=quot;foaf:interestquot;>web</span>, <span property=quot;foaf:interestquot;>open source</span>and <span property=quot;foaf:interestquot;>photography</span>. He is the original creator and project lead of <a href=quot;http://drupal.orgquot; rel=quot;foaf:currentProjectquot;>Drupal</a>, an open source social publishing system. He is co-founder and chief technology officer of <a href=quot;http://acquia.comquot; rel=quot;foaf:workplaceHomepagequot;>Acquia</a>, a venture-backed software company that offers products and services for Drupal. Dries is also working on <a href=quot;http://mollom.comquot; rel=quot;foaf:workplaceHomepagequot;>Mollom</a>, a service that helps you identify content quality and that stops website spam. People often laugh at his hair but he is cool with that. <a href=quot;/resumequot;>More about Dries ...</a></p> </div> </div>
  • 14. Query Engines
  • 15. let $images := doc(quot;jdbc:mysql:localhost:localuser:imagesquot;), $kw := doc(quot;rdf.xmlquot;) for $item in $rdf/triplets[relation = quot;locnamequot;] where $item/value = quot;Tower of Londonquot; and some $image in $images satisfies ( $image/uri = $item/uri and $image/width = 1024 and $image/height = 768 ) return $item/uri
  • 16. REST, het web als database?
  • 17. http://www.it-eye.nl/ ron.van.weverwijk@it-eye.nl andrej.koelewijn@it-eye.nl
  • 18. http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm ● http://www.infoq.com/articles/rest-anti-patterns ● http://www.infoq.com/articles/tilkov-rest-doubts ● http://www.infoq.com/articles/subbu-allamaraju-rest ●