Your SlideShare is downloading. ×
  • Like
REST, the internet as a database?
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

REST, the internet as a database?

  • 1,588 views
Published

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.

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
1,588
On SlideShare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
25
Comments
1
Likes
2

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. 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 ●