35
Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Embed Size (px)

Citation preview

Page 1: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Mashups for the masses

Maarten Brugman & Sven Vintges

Atos Origin SI

Center of Excellence RIA

Page 2: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Agenda

• Mashups• Voorbeelden• Architectuur• Tools• Yahoo!• Google• Case + Demo• Aandachtspunten• Huidige ontwikkelingen• Conclusie

Page 3: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Wat is een mashup

• Muzikale stroming– DJ Danger Mouse: The Beatles and Jay-z

• Web 2.0– “a web application that combines data from more than

one source into a single integrated tool “ (Wikipedia)

Page 4: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Hype!!!!

Page 5: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Soorten mashups

• Publieke mashups• Enterprise mashups

– combineer enterprise data uit verschillende bronnen

– mogelijk ook publieke bronnen

• Gadgets / widgets in sidebar / persoonlijke pagina– eigenlijk geen mashup;

– soms gebruikt in mashups.

Page 6: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Soorten gegevensbronnen

• Feeds– (Geo)-RSS

– ATOM

• (Web) services– Typisch in enterprise-context

• Maps– Google, Yahoo!, Virtual Earth, ...

• HTML– Screen scraping

Page 7: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Voorbeelden, shopping

• Zoeken in verschillende shops;• Vergelijken van de prijzen van de

verschillende shops;• Community, review door andere gebruikers

over producten én shops.

• http://www.vergelijk.nl/

Page 8: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Voorbeelden, nieuws

• Integreren van verschillende nieuwsbronnen;• Bronnen zijn diverse soorten, bijvoorbeeld de

beurs met nieuwsberichten;

• http://finance.google.com

Page 9: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Voorbeelden, video en foto

• Tonen van foto en map /3d foto’s;• Foto’s m.b.v. een game laten kwalificeren,

achterliggen doel: opbouwen hoe mensen foto’s kwalificeren.

• Herkenbare punten opslaan.

• http://www.360tuscany.net/

Page 10: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Voorbeelden, mapping

• Informatie met een map combineren;• Geografische informatie (GeoRSS) in kaart

brengen;

• http://www.swisstrains.ch

Page 11: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Agenda

• Mashups• Voorbeelden• Architectuur• Tools• Yahoo!• Google• Case + Demo• Aandachtspunten• Huidige ontwikkelingen• Conclusie

Page 12: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Server Side Integratie

Figuur 1: server-side mash-up, ref: sun.com

Page 13: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Server Side Integratie (2)

• Voordelen– Beveiliging: XMLHttpRequest sandboxing;

– Veel libraries in JAVA en .NET om WS te gebruiken;

– Filtering van data (grote hoeveelheden);

– Caching;

– Aggregatie.

Page 14: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Mashups Client Side

Figuur 2: client-side mash-up, ref: sun.com

Page 15: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Mashups Client Side

• Cross domain issues;• Veel browsers ondersteunen JSON;• Makkelijk en snel, geen applicatieserver

nodig;• Performance,

kracht van client wordt gebruikt.

Page 16: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Agenda

• Mashups• Voorbeelden• Architectuur• Tools• Yahoo!• Google• Case + Demo• Aandachtspunten• Huidige ontwikkelingen• Conclusie

Page 17: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Yahoo! Toolkit (1)

• Yahoo! Music engine• Yahoo! Widgets• Yahoo! Search• Yahoo! Travel• Yahoo! Traffic• Yahoo! User Interface Library• Yahoo! Pipes• …

Page 18: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Yahoo! UI Toolkit

Page 19: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Yahoo! Widgets

• Desktop experience;• Mashups:

– Veel standaard;

– Zelfbouw mogelijk.

• http://widgets.yahoo.com

Page 20: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Yahoo! Mapping

• Verschillende manieren– AJAX (JavaScript);– Flash (Actionscript 2 en 3);– Simple API;– Image API;

• Mogelijkheden– Plaatsen van markers, labels etc;– Geocoding;– Routes weergeven (polylines);– Zooming, navigatie.

Page 21: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Google APIs

so many to choose from...AndroidGoogle Data APIsBlogger Data API FeedBurner APIs Gmail Atom Feeds Google Account Authentication Google AdSense API Google AdSense for Audio API Google AdWords API Google AJAX APIs Google AJAX Feed API Google AJAX Language API Google AJAX Search API Google Analytics Google Apps APIs Google Base Data API Google Book Search Book Viewability API Google Calendar APIs and Tools

Google Chart API Google Checkout API Google Code Search Google Code Search Data API Google Contacts Data API Google Coupon Feeds Google Desktop Gadget APIGoogle Desktop Search APIs Google Documents List Data API Google Gadgets API Google Gears Google KML Google Mapplets Google Maps API Google Mashup Editor Google News Feeds Google Notebook Data API OpenSocial Orkut

Google Safe Browsing APIs Google Search Appliance APIs Google Search History Feeds Google Sitemaps Google SketchUp Ruby API Social Graph API Google Spreadsheets Data API Google Static Maps API Google Talk XMPP Google Themes API Google Toolbar API Google Transit Feed Specification Google Visualization API Google Web Toolkit Picasa APIs Picasa Web Albums Data API YouTube Data API

Page 22: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Google APIs bruikbaar voor mashups

• Google maps API• Google charts API• Google gadgets API

– user preferences (onder Google account)

– fetch HTML (screen scraping)

– fetch feeds (as JSON object)

– fetch XML content (as DOM object)

• ...en natuurlijk Google Mashup Editor

Page 23: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Agenda

• Mashups• Voorbeelden• Architectuur• Tools• Yahoo!• Google• Case + Demo• Aandachtspunten• Huidige ontwikkelingen• Conclusie

Page 24: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Demo Yahoo! Vs Google

• Map tonen;• Basis componenten op map;• Hoe plaats je markers + data;• Zoom naar een marker/ expand;• Bijwerken data op de map;• Charting.

Page 25: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Aandachtspunten voor je mashup

• Beveiliging– Client-side mashup: per service regelen– Server-side mashup: 1x op de mashup-server

• Versionering/ beschikbaarheid– Client-side mashup: Beschikbaarheid van services/ kwaliteit van

dienstverlening afhankelijk van derden;– Server-side mashup: Server dient als proxy, indien service niet

beschikbaar dan kan server toch leveren door het uit de cache te halen.

• Performance;– Client-side: minder load op de server;– Server-side: complexere integratie, caching en polling mogelijk.

Voor publieke services moet er een lijn naar buiten zijn.• Integratie;

– Client-side mogelijkheden zijn beperkt.

Page 26: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Agenda

• Mashups• Voorbeelden• Architectuur• Tools• Yahoo!• Google• Case + Demo• Aandachtspunten• Huidige ontwikkelingen• Conclusie

Page 27: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Mashup Tools

On-line:• Yahoo! Pipes (beta)• Google mashup server (beta) • Microsoft Popfly• OpenKapow• Dapper• Intel Mashmaker (beta)

Open Source:• WSO2 Mashup Server• Apatar• SnapLogic

Page 28: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Commerciële tools

Page 29: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Yahoo! Pipes

• Integratieservice;• Resultaat als ‘pipe’ voor de map;• Consumeren van RSS Feeds, Geo feeds,

Services (toekomst).

Page 30: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Google mashup server

Page 31: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Google Mashup ServerWiki

Issue Tracker

SubversionRepo 100MB

(publiek)

Page 32: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

WSO2 Mashup server

• Web service composing;• Deploying services als ws-*, REST met

WSDL 1.1, WSDL 2.0, XML-Schema en AJAX test pagina;

• Gebaseerd op apache/ axis2 t.b.v. security, betrouwbaarheid en bewaking (governance);

• Gericht op enterprise mash-ups;• www.wso2.com

Page 33: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Standaarden Server-side

• OpenSAM;• Open AJAX;• DataPortability.org.

Page 34: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Conclusie

• Mashup = HYPE, Adoptie = snel (Gartner);• Wildgroei aan tools; • Doe-het-zelf: “Information worker”;• Client vs Server;• Poging tot standaardisatie.

Page 35: Mashups for the masses Maarten Brugman & Sven Vintges Atos Origin SI Center of Excellence RIA

Links

• Websites– http://www.programmableweb.com/

– http://developer.yahoo.com/

– http://blogs.zdnet.com/Hinchcliffe/?p=111

• Mashups– http://www.swisstrains.ch

– http://www.treelz.com

– http://misdaadkaart.nl/