MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC...

30
MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE [email protected] http://www.vargas-solar.com/

Transcript of MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC...

Page 1: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB

GENOVEVA VARGAS SOLAR

FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE

[email protected]

http://www.vargas-solar.com/

Page 2: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

2

AGENDA

Mashing up Web data Key concepts

Problem statement and objective

SUNO: a mashup definition environment Principle: mashing up data in space

General architecture and main functions

Implementation issues

Conclusions and perspectives

Page 3: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

3

SCENARIO

Data integration in the Web Aggregation

Combination

Visualization

Page 4: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

4

MASHUP

Mashlet

Atomic and reusable container that calls a data-provider and

Presents the retrieved data (e.g. a Web page)

Data Provider

Web scrapping

Feeds

Web services

Mashup

Page 5: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

5

MASHUP

Mashlet

Mashup

Application that aggregate, integrate, manage and display data, which are retrieved from

several data-providers

Examples Yahoo! Pipes (Data Flow)

MS Montage (Spatial data organization)

Page 6: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHING UP DATA

6

Data services

Mashlets

Mashup

• Mashlet• Graphical: widget• Functional: web services

• Mashup• Composition of mashlets • Loosely coupled data integration

• Databases• Web services• Web Pages• Local Files

Page 7: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

EXISTING WORKS

7

CRITERION WSO2 MASHUP SERVER

YAHOO! PIPES INTEL MASHMAKER

PRESTO

Type Platform Platform Platform Language/Platform

Implementation JavaScript Drag-And-Drop Drag-And-Drop D&DXML/ support for adding scripts

Edition tool Navigator Navigator Navigator Eclipse/ Navigator

Dashbord WSO2 gadget server Yes Yes Yes

Catalogue No Yes Yes No

Page 8: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

APPROACH

Mashlet: basic unit for retrieving data from a data service (service call) and visualizing results Data service identified by an URI and exports an API with methods for retrieving data Visualization defines a way how to display data in a 2D space (html page) and in time

Mashup: a set of mashlets associated by spatial and temporal relationships8

M1

M2S2: pages blanches

S3: 118 000

S1

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Page 9: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 9

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

M1

M1

y

x

t…

Page 10: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 10

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Present Genoveva’s current addresses during10 minutes once data have been retrievedin the upper part of the space in a rectangle of 300 x 200 pixels

200 pixelsx

M1

y

300 pixels

Page 11: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 11

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Present Genoveva’s current addresses during10 minutes once data have been retrievedin the upper part of the space In a rectangle of 300 x 200 pixels

10 minutes

t

data transfer interval

M1M1

Page 12: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 12

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

But Genoveva moves a lot and changes addresses frequently …

S2 : Pages blanchesM1

… so data have to be refreshed

Get Genoveva’s address every week

Page 13: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHUP

13

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Inspired in http://www.123people.fr

Page 14: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

MASHUP ELEMENTS

14

M1

M2S2: pages blanches

S1

S3: 118 000

Present Genoveva’s current addresses during 10 minutes once data have been retrieved in the upper part of the space In a rectangle of 300 x 200 pixels

Present Genoveva’s telephone numbers during 10 minutes once data have been retrieved in the upper part of the space in a rectangle of 600 x 200 pixels

Present Genoveva’s photos as long as data have been retrieved in the upper part of the space in a rectangle of 600 x 150 pixels

M1

M2

M3

Page 15: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

y

x

t

MASHUP

15

M1

M2S2: pages blanches

S1

Compose M1 and M2 where M1 is touches M2 at the east and M1 and M2 are centered

M1

M2

Page 16: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

y

x

t

MASHUP

16

S2: pages blanches

S1

Compose M1 and M2 where M1 is touches M2 at the east and M1 and M2 are centered

M4

Page 17: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

y

x

t

MASHUP

17

S2: pages blanches

S1

S3: 118 000

Compose M4 and M3 where M3 touches M4 at the south and M4 and M3 are centred

M3

M4

Page 18: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

y

x

t

MASHUP

18

S2: pages blanches

S1

S3: 118 000

Compose M4 and M3 where M3 touches M4 at the south and M4 and M3 are centred

Page 20: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

20

AGENDA

Mashing up Web data Key concepts

Problem statement and objective

SUNO: a mashup definition environment Principle: mashing up data in space

General architecture and main functions

Implementation issues

Conclusions and perspectives

Page 21: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

21

MASHING UP DATA IN A 2D SPACEPRINCIPLE

PrincipleVideo - YouTube

Photo - CNN

Photo - Flickr

X

Y

News - LeMonde

News – CNN

(1,1)

(16,9)(1,9)

(16,1)

(14,7)(18,7)

S2 S3

S4 S5Internet

S2 S3

S4 S5Internet

Page 22: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

22

SUNO ARCHITECTURE

HTTP

SOAP, REST

Server

User Accounts

Mashlets Catalog

Client

User interfaceEdition

Environment

Presentation

Data Sources Manager

S2 S3

S4 S5Internet

Page 23: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

23

SUNO FUNCTIONS

Procedure

Step 1 Specify the sources

Step 2 Specify the data format

Step 3 Save the mashlet

MASHLET DEFINITION

Mashlet 1Source = “http://…/CNN”

Type = “Photo”

Mashlet 2…

Mashlet Catalog

Save

Page 24: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

24

SUNO FUNCTIONSMASHUP 2D SPACE ORGANIZATION (I)

Container A Container B

(10,1)

(17,8)

X

Y

“My First Mashup”

Page 25: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

25

SUNO FUNCTIONSMASHUP 2D SPACE ORGANIZATION (II)

Container A Container B

(10,1)

(17,8)

X

Y

Page 26: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

26

SUNO FUNCTIONSLINKING MASHLETS FOR PRODUCING A MASHUP (I)

Mashlets Catalog

Container A

Container B

Mashlet 1

Mashlet 2

Page 27: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

27

SUNO FUNCTIONSLINKING MASHLETS FOR PRODUCING A MASHUP (II) Container A

Container B

Mashlet 1

Mashlet 2

Page 28: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

28

SUNO FUNCTIONSMASHUP EXECUTION

Mashlet 4(Video - YouTube)

Mashlet 1( Photo - CNN)

M 5(Phot

o - Flickr

)

Mashlet 2(News - LeMonde)

Mashlet 3(News – CNN)

(1,1)

(16,9)(1,9)

(16,1)

(14,7)(18,7)

Page 29: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

29

IMPLEMENTATION ISSUES

Development platform

.NET 4 Platform

Silverlight

Tools and Technologies

XAML

C#

Visual Studio 2010

Communication Styles

RESTful

SOAP

Data Format

JSON

XML

Page 30: MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE Genoveva.Vargas@imag.fr.

30

Thanks