Your SlideShare is downloading. ×
0
REST, het web als database?

    Ron van Weverwijk
     Andrej Koelewijn
package com.sun.ws.rest.samples.helloworld.resources;

import javax.ws.rs.GET;
import javax.ws.rs.Produces;
import javax.w...
Wat is REST?
Rest Eigenschappen
1. Geef alles een ID
2. Link naar je afhankelijkheden
3. Gebruik de standaard HTTP 
          Methoden
4. Stel je data in verschillende 
    formaten beschikbaar
5. Communiceer zonder status
Architectuur Impact
LinkedData
<h2>About Dries</h2>
<div class=quot;contentquot;>
 <div about=quot;#mequot; typeof=quot;foaf:Personquot;>
   <a href=quot...
<h2>About Dries</h2>
<div class=quot;contentquot;>
 <div about=quot;#mequot; typeof=quot;foaf:Personquot;>
   <a href=quot...
Query Engines
let $images :=
doc(quot;jdbc:mysql:localhost:localuser:imagesquot;),
$kw := doc(quot;rdf.xmlquot;)
for $item in $rdf/tripl...
REST, het web als database?
http://www.it-eye.nl/
ron.van.weverwijk@it-eye.nl
 andrej.koelewijn@it-eye.nl
http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
●



    http://www.infoq.com/articles/rest-anti-patterns
●



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

REST, the internet as a database?

1,629

Published on

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
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,629
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
26
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "REST, the internet as a database?"

  1. 1. REST, het web als database? Ron van Weverwijk Andrej Koelewijn
  2. 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. 3. Wat is REST?
  4. 4. Rest Eigenschappen
  5. 5. 1. Geef alles een ID
  6. 6. 2. Link naar je afhankelijkheden
  7. 7. 3. Gebruik de standaard HTTP  Methoden
  8. 8. 4. Stel je data in verschillende  formaten beschikbaar
  9. 9. 5. Communiceer zonder status
  10. 10. Architectuur Impact
  11. 11. LinkedData
  12. 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. 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. 14. Query Engines
  15. 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. 16. REST, het web als database?
  17. 17. http://www.it-eye.nl/ ron.van.weverwijk@it-eye.nl andrej.koelewijn@it-eye.nl
  18. 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 ●
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×