SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
1.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Real-time Mashups di
Web Service Geografici
Cesare Pautasso
Facoltá di Informatica
Universitá della Svizzera Italiana
http://www.pautasso.info/
@pautasso
2.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups
• Applicazioni Web
costruite componendo
Web service API
preesistenti
in modo nuovo e
inaspettato
3.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups
+
compose
API
API
Mashup
4.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Example
compose
Mashup+
5.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups
• Applicazioni Web
composte da Web
service e fonti di dati
Web preesistenti
riutilizzate in modo
nuovo e inaspettato
WeatherBonk.com
6.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups
• Cosa sono
• Come si costruiscono
• Esempi geografici
• Aspetti Legali
• Uno sguardo in avanti
7.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups: Proprietá
• Contenuti Aggregati da fonti multiple
– Servizi Web (API) Pubblici
– Screen Scraping (scrAPIs) da siti Web pre-esistenti
– Dati locali gestiti dal mashup stesso
– Informazioni fornite dagli utenti del mashup (à la wiki)
9.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
42%
11%
10%
9%
7%
4%
3% 3% 3% 3%
GoogleMaps
Flickr
YouTube
Twitter
Amazon
Facebook
eBay
VirtualEarth
LastFM
Google
API Popolaritá
Da programmableweb.com
(All time API usage)
10.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Ecosistema
• 2-mode Network
• ProgrammableWeb.com
(5300+ Mashups, 2300+ APIs)
m
API m
API
API
API
m
m
m
11.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashup EcosystemAPI Tier 1:
Google Maps
API Tier 2:
Social/Community,
Search
Many popularAPIs
API Tier 3:
Feeds, blogging, online
retail, music, video
Less popular APIs
Slide by Shuli Yu
12.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups: Proprietá
• Contenuti Aggregati da fonti multiple
– Servizi Web (API) Pubblici
– Screen Scraping (scrAPIs) da siti Web pre-esistenti
– Dati locali gestiti dal mashup stesso
– Informazioni fornite dagli utenti del mashup (à la wiki)
• Facili da Programmare
– HTML5 e JavaScript sufficienti per iniziare
13.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Architettura
Web
Browser
Web
Server
Mashup
Web
Service
APIs
Databases
Web Data
Feeds
Local
Database
HTTP/RSS/ATOM
AJAX
Client
SOAP
HTTP
RSS
14.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Client-sideMashups
Web
Browser
Mashup
(HTML
JavaScript)
Web
Service
APIs
Web
Service
APIs
Web
Server
HTTP/JPEG
Problem: JavaScript
Same-Origin Security Policy
15.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Server-side Mashups
Web
Browser
Mashup
(HTML
JavaScript
Flash)
Web
Service
API
Web
Service
API
Web
Server
Mashup
(PHP,
JSP,
ASP.NET
Ruby,
JOpera…)
HTTP
XML/
JSON
HTTP/XML
Web Data
Feeds
16.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Mashups: Proprietá
• Contenuti Aggregati da fonti multiple
– Servizi Web (API) Pubblici
– Screen Scraping (scrAPIs) da siti Web pre-esistenti
– Dati locali gestiti dal mashup stesso
– Informazioni fornite dagli utenti del mashup (à la wiki)
• Facili da Programmare
– HTML5 e JavaScript sufficienti per iniziare
• Di vita breve
– La stabilitá e la robustezza non interessano
17.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Numerodiutenti
One-size-fits all Ad-Hoc
Requisiti
Software Commerciale
• Milioni di utenti
• Sviluppo costoso e professionale
• Buona Qualitá
Mashups
• Pochi utenti specializzati
• Vita breve, costo molto basso
• Good Enough Quality
• Sviluppati dagli utenti stessi
18.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Metafore Utente
• Mappa
– Google Maps et al.
• Calendario
– Eventi ordinati nel tempo
• Data Stream
– Aggregare flussi di dati
• Portale
– Composizione di Web Widgets
netvibes.com
immo.search.ch
woozor.com
rt4sq
swisstrains
19.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionaleSeptember 2008 Informatica08 – Atelier 2 20
woozor.com
20.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Immo.Search.ch
21.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Doggdot.us
22.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
FlashEarth.com
23.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
NetVibes.com
24.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionaleSeptember 2008 Informatica08 – Atelier 2 25
Wikimapia.org
25.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale 26
rt4sq
26.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionaleSeptember 2008 Informatica08 – Atelier 2 27
swisstrains.ch
27.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale 28
local.ch
28.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale 29
ineedabike.gmapify.fr
29.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Esempi
• weatherbonk.com
• woozor.com
• doggdot.us
• flashearth.com
• wikimapia.org
• netvibes.com
• immo.search.ch
• swisstrains.ch
• ineedabike.gmapify.fr
• rt4sq.zaubersoftware.com
• local.ch
30.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Sfide Tecnologiche
• Composizione/Integrazione
• Estrazione Dati (Pull/Push/Scraping)
• Eterogeneitá
• Qualitá delle fonti/servizi
• Gestione eccezioni
• Evoluzione
31.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Aspetti Legali
• Anche se tecnicamente é diventato facile
riusare il software per comporre mashups,
rimangono aperti alcuni problemi legali:
• Quali sono i “Terms of Use” delle API?
• Fair-Use: esiste un “Right to Remix”?
• Security/Privacy
– Affidereste la vostra chiave d’accesso ad un
mashup sconosciuto?
32.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Conclusioni
• Grazie a standard tecnologici emergenti i costi
di integrazione di dati e applicazioni sul Web si
sono ridotti moltissimo
• É diventato quindi possibile costruire Mashups
un nuovo tipo di applicazioni Web che
compongono in maniera leggera
Web services API e fonti di dati Web
33.
Le opportunità
non hanno confini
FESR
Fondo europeo di
sviluppo regionale
Riferimenti
• http://www.programmableweb.com/
• Mashups'10 - 4th International Workshop on Web APIs and Services
Mashups @ ECOWS http://mashup.inf.unisi.ch/mashups2010/
• Shuli Yu and C. Jason Woodard, Innovation in the Programmable
Web: Characterizing the Mashup Ecosystem, ICSOC Workshops,
LNCS 5472, 136-147, 2008
• C. Cappiello, F. Daniel, M. Matera, C. Pautasso, Information Quality
in Mashups, IEEE Internet Computing, vol. 14, no. 4, pp. 14-22,
Jul/Aug 2010
• C. Pautasso, Composing RESTful Services with JOpera, In: Proc. of
the International Conference on Software Composition (SC2009),
July 2009, Zurich, Switzerland.
0 likes
Be the first to like this
Views
Total views
3,234
On SlideShare
0
From Embeds
0
Number of Embeds
10
You have now unlocked unlimited access to 20M+ documents!
Unlimited Reading
Learn faster and smarter from top experts
Unlimited Downloading
Download to take your learnings offline and on the go
You also get free access to Scribd!
Instant access to millions of ebooks, audiobooks, magazines, podcasts and more.
Read and listen offline with any device.
Free access to premium services like Tuneln, Mubi and more.