t. boch - votech dsrp meeting - cambridge - 29 sept-2 oct 2008 ds4 thomas boch pascal wassong...

17
T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct QuickTime™ e décompresseu sont requis pour QuickTime™ et un décompresseur BMP sont requis pour visionner cette image. DS4 DS4 Thomas Boch Pascal Wassong Sébastien Derrière First prototype of a CDS portal

Upload: josephine-king

Post on 28-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

DS4DS4

Thomas Boch

Pascal Wassong

Sébastien Derrière

Thomas Boch

Pascal Wassong

Sébastien Derrière

First prototypeof a CDS portal

Page 2: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Why a portal ?Why a portal ?

• Facts– CDS users don’t know well the differences

between CDS services• They even sometimes mix up Simbad and VizieR• They might ignore some services/tools of interest for

their search• Each service has different interfaces, different options,

etc --> scaring for beginners

– Not easy to reuse output from a service as input to another service

• Facts– CDS users don’t know well the differences

between CDS services• They even sometimes mix up Simbad and VizieR• They might ignore some services/tools of interest for

their search• Each service has different interfaces, different options,

etc --> scaring for beginners

– Not easy to reuse output from a service as input to another service

Page 3: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Why not Aladin ?Why not Aladin ?

• Aladin is geared towards data visualization

• Java based : Need an installation or launch an applet

• Interface not immediately accessible– Rather steep learning curve

• Using Aladin needs a preliminary knowledge of services one wants to query

• Aladin is geared towards data visualization

• Java based : Need an installation or launch an applet

• Interface not immediately accessible– Rather steep learning curve

• Using Aladin needs a preliminary knowledge of services one wants to query

Page 4: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

GoalsGoals

• Develop a simple interface (Web based)– Uniform access point to CDS services

• Data-centric (vs. Service-centric)• Facilitate workflow between services (eg:

use Simbad output as VizieR input)• Reuse or adapt existing services/interfaces

as much as possible– No duplication of existing features

• Develop a simple interface (Web based)– Uniform access point to CDS services

• Data-centric (vs. Service-centric)• Facilitate workflow between services (eg:

use Simbad output as VizieR input)• Reuse or adapt existing services/interfaces

as much as possible– No duplication of existing features

Page 5: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

First stepFirst step

• Focus on ConeSearch-like queries– Positions– Object names

• Provide– Summary of information/available data– Links to existing services/tools

• Focus on ConeSearch-like queries– Positions– Object names

• Provide– Summary of information/available data– Links to existing services/tools

Page 6: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

CDS Portal

Page 7: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

TechnologiesTechnologies

• Very first prototype built separately with3 different AJAX toolkits :– Prototype + DWR– Dojo– GWT

• Very first prototype built separately with3 different AJAX toolkits :– Prototype + DWR– Dojo– GWT (+ Ext-GWT for widgets)

Page 8: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Google Web ToolkitGoogle Web Toolkit

• Java toolkit to develop AJAX applications

• Open source (Apache 2.0)

• Develop in Java, compile to Javascript– Javascript as an assembly language

• Java toolkit to develop AJAX applications

• Open source (Apache 2.0)

• Develop in Java, compile to Javascript– Javascript as an assembly language

Page 9: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

GWT prosGWT pros

• Use your favorite Java tools (Eclipse, debugger)– Develop and test in hosted mode (Java)– Deploy to Javascript

• Simple RPC to communicate with server– Serialization of Java objects

• Cross-browser (true most of the time)• Optimization of compiled Javascript

– Speed– Size

• Use your favorite Java tools (Eclipse, debugger)– Develop and test in hosted mode (Java)– Deploy to Javascript

• Simple RPC to communicate with server– Serialization of Java objects

• Cross-browser (true most of the time)• Optimization of compiled Javascript

– Speed– Size

Page 10: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Architecture (1)Architecture (1)

Client Server

CDS PortalGWT server

RPC

CDS services

HTTP

User DB

Saved dataClient X

HTTP

Page 11: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Architecture (2)Architecture (2)

• Keeping portal intelligence independent from toolkit

• HTTP services– Provide needed information for each CDS

service– http://cdsportal…./services/simbad?

target=m1&format=json

• Keeping portal intelligence independent from toolkit

• HTTP services– Provide needed information for each CDS

service– http://cdsportal…./services/simbad?

target=m1&format=json

/* {"simbad": { "objects_around": { "nb_objects": "7", "url": "http://simbad.u-strasbg.fr/simbad/sim-id?Ident=m1&NbIdent=around&Radius.unit=arcmin&Radius=2" }, "data": { "morphological_type": "~", "object_type": "Pulsar", "spectral_type": "F", "url": "http://simbad.u-strasbg.fr/simbad/sim-id?Ident=m1&radius.unit=arcmin&Radius=2" }, "map": {"url": "http://simbad.u-strasbg.fr/simbad/sim-plot?radius=2&radius.unit=arcmin&submit=plot+around&ident=m1&coo=05+34+31.97+%2B22+00+52.1"}, "target": "m1", "biblio_refs": { "nb_refs": "3382", "image_url": "http://cdsweb.u-strasbg.fr/~boch-bin/cds-portal/generate-nbref-histo.py?start=1950&scaleX=6&object=m1", "url": "http://simbad.u-strasbg.fr/simbad/sim-id?Ident=%40795871&submit=display&bibdisplay=refsum&bibyear1=1850&bibyear2=2008&Name=m1&Radius=2#lab_bib" }}} */

Page 12: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Bridging the gapBridging the gapbetween services (1/2)between services (1/2)

• Use case– Query 2MASS catalogue in VizieR to retrieve red

objects (J-K>4.5) around NGC 1333– Save this list– Reuse it to query Simbad and merge the result with the

input– Save the result

• Use case– Query 2MASS catalogue in VizieR to retrieve red

objects (J-K>4.5) around NGC 1333– Save this list– Reuse it to query Simbad and merge the result with the

input– Save the result

Page 13: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Bridging the gapBridging the gapbetween services (2/2)between services (2/2)

• Portal as a gateway to connect CDS services

• Saving to portal as a new output format– Redirect to a dedicated URL on the portal

• Allows user authentication• URL to be saved passed as a parameter

– Actual saving performed asynchronously server-side

– Currently tested on VizieR

• Portal as a gateway to connect CDS services

• Saving to portal as a new output format– Redirect to a dedicated URL on the portal

• Allows user authentication• URL to be saved passed as a parameter

– Actual saving performed asynchronously server-side

– Currently tested on VizieR

Page 14: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

CDS Portal

Page 15: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Dealing with usersDealing with users

• Identify users– HTTP cookie

• Anonymous users– First-class users

• Can set preferences• Can save data

• Why register ?– Lost cookie ? Too bad– Retrieve your data/settings on different computers

• Identify users– HTTP cookie

• Anonymous users– First-class users

• Can set preferences• Can save data

• Why register ?– Lost cookie ? Too bad– Retrieve your data/settings on different computers

Page 16: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

Foreseen developmentsForeseen developments• Develop list of actions to be performed on saved data

(query VizieR/Simbad with a list of positions, cross-match these 2 saved tables, etc)

• Save data from Simbad• Upload local tables• Explore non-positional queries

“radial velocities“, “radial velocities for NGC 7619”– Semantics analysis, links with ontologies (AIDA WP8 ?)– Description of service capabilities/metadata model

• Misc– Improve list of Aladin images

• Develop list of actions to be performed on saved data (query VizieR/Simbad with a list of positions, cross-match these 2 saved tables, etc)

• Save data from Simbad• Upload local tables• Explore non-positional queries

“radial velocities“, “radial velocities for NGC 7619”– Semantics analysis, links with ontologies (AIDA WP8 ?)– Description of service capabilities/metadata model

• Misc– Improve list of Aladin images

Page 17: T. Boch - VOTECH DSRP Meeting - Cambridge - 29 Sept-2 Oct 2008 DS4 Thomas Boch Pascal Wassong Sébastien Derrière Thomas Boch Pascal Wassong Sébastien Derrière

T. Boch - VOTECH DSRP Meeting -Cambridge - 29 Sept-2 Oct 2008

QuickTime™ et undécompresseur BMPsont requis pour visionner cette image.QuickTime™ et un

décompresseur BMPsont requis pour visionner cette image.

DemoDemo

• Alpha test version deployed at :http://cdsportal.u-strasbg.fr/

• Use it at your own risk– Service likely to be stopped anytime– Saved data likely to be removed anytime

• First production deployment planned for end of this year

• Alpha test version deployed at :http://cdsportal.u-strasbg.fr/

• Use it at your own risk– Service likely to be stopped anytime– Saved data likely to be removed anytime

• First production deployment planned for end of this year