MediaMosa and Open Webservices - SURFnet Relatiedagen 2010

712 views

Published on

MediaMosa and Open Webservices - SURFnet Relatiedagen 2010.
Presentation by Herman van Dompseler at the SURFnet Relatiedagen, December 9, 2010

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
712
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

MediaMosa and Open Webservices - SURFnet Relatiedagen 2010

  1. 1. MediaMosa and Webservices<br />easy access to MediaMosa content<br />SURFnet relatiedagen – 8 & 9december 2010 - Herman van Dompseler<br />&<br />Connect<br />Communicate<br />
  2. 2. Big roleforwebservices<br />Webservices are the onlymeans of communicationbetweenMediaMosa and End User Applications<br />That’s a goodthing, <br />seperation of concerns<br />Frontend: presentation<br />Backend: data<br />
  3. 3. How do theyconnect?<br />Trust relation<br />End User Applicationsapplyfor a key to useMediaMosa. <br />End User Applicationsauthenticateusingthiskey and DBUS authentication<br />End User Applications have access to their part of MediaMosa data <br />
  4. 4. How do theycommunicate?<br />Webservice request<br />REST url<br />GET /asset (with a lot of parameters)<br />http://www.mediamosa.org/node/218114<br />Webservice response<br />MediaMosa XML format<br />
  5. 5. MediaMosa XML<br />Example: /asset<br />
  6. 6. and itworks<br />
  7. 7. And itworks NOT likethis<br />But…<br />End usersdo notcommunicatedirectlywithMediaMosa<br />All communications is doneusing End User Applications<br />There is nopublic entranceto MediaMosa (entrance is basedon the trust relation)<br />There is nostandard XML response format<br />
  8. 8. Technology scouting<br /> ‘Open Webservices’<br />Goal:<br /> “to provide an open interface forsharing data stored in anMediaMosa environment”<br /> “to consume data from other open platforms and to integratethis in MediaMosa”<br />Side effects:<br />New target audience: end users<br />Public entrancewith easy access<br />Standard XML response<br />
  9. 9. What is needed?<br />Open API<br />
  10. 10. How to connectto Open API?<br />Public Access<br />The Open API is public withanurllike:<br />api.mediamosa.org<br />
  11. 11. How to communicatewith Open API?<br />Webservice request<br />REST url<br />GET /search with standaard parameters like query, limit, order.<br />Webservice response<br />Standard XML format<br />RSS<br />Atom<br />Json<br />
  12. 12. Atom<br />Example: /search<br />
  13. 13. demo’s<br />for end users & developers<br />http://api.mediamosa.surfnet.nl/<br />
  14. 14. A couple of examples<br />Have younoticedthis?<br />The difference in XML response<br />MediaMosa XML: http://api.mediamosa.surfnet.nl/displayXML<br />Atom XML: http://api.mediamosa.surfnet.nl/search?query=html5<br />ComparewithYouTube XML<br />http://gdata.youtube.com/feeds/api/videos?q=html5&max-results=10&v=2<br />End users<br />UseAtomfeed in iGoogle<br />http://www.google.nl/ig<br />Developers<br />Createmashups<br />http://api.mediamosa.surfnet.nl/cockpit?query=html5<br />
  15. 15. Wrap up<br />The current status<br />Open Webservices givenewfunctionality to MediaMosa<br />Public entrance<br />Standard XML response<br />Open webservices introducenewaudiences:<br />End users<br />(Mashup) developers<br />The Proof Of Concept shows thatitcanbedone. <br />It’s nothereyet, but we keep youposted.<br />
  16. 16. Easy access to MediaMosa Content<br />What’s in itfor me?<br />End user<br />direct access to <br />MediaMosa content<br />Developer<br />easy integration of <br />MediaMosa content<br /> in SURFnetconext,<br /> website, ELO, etc.<br />
  17. 17. Questions ?<br />Asknow.<br />Orask later.<br />Herman van Dompseler<br />herman@dompseler.nl<br />

×