16
Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topc at Ast roS cop e Plasti c

Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Embed Size (px)

Citation preview

Page 1: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Binding applications with PLASTICJohn Taylor

Institute for Astronomy, Edinburgh / AstroGrid

Topcat

AstroSco

pe

Plastic

Page 2: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

PLASTIC is...

A specification for how astronomy tools on a user's desktop can talk to each other SimpleExtensibleA collaboration between the Aladin, AstroGrid, Topcat, VisIVO teams and others

Page 3: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Contents

PLASTIC – why and how?DemosWhere are we now?What next?

Page 4: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Why?

We needed a quick and easy way for apps to communicate

– Don't need guaranteed delivery, encryption, security, other bells and whistles

Most of the interesting stuff is working out the ways that apps should communicate once they can.

Page 5: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Architecture: publish-subscribe

“Plastic Hub”

register register

register

Page 6: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Architecture: multiple “protocols”

Hub

Python/C++

Java

Python (cmdline)

R

rmi

rmi

Server

Client

xmlrpc

xmlrpc

htmlhtml

Look Familiar?Exactly the same options that you get in the AR -

if you use Plastic you get all the facilities ofthe AR “for free” (and vice versa)

Page 7: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

What do messages look like?

ivo://votech.org/votable/loadivo://votech.org/votable/loadFromURLivo://votech.org/votable/showObjectsivo://votech.org/fits/image/loadivo://votech.org/fits/image/loadFromURL

....ivo://votech.org/test/echoivo://votech.org/info/getNameivo://votech.org/info/getIcon

....

Why are these IVORNS?In the future we might want to register them to ● make it easier to search for applications that have certain capabilities● Guarantee uniqueness● Facilitate auto-generation of UIs for sending messages?

Page 8: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

What do messages look like?

Messages can carry arguments, and return values

Page 9: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Demos

Plastic for beginners - JDTIntegrating Topcat and Aladin – Thomas BochVarious other presentations will include asides on PLASTIC

Page 10: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Where are we now?

An implementation of a Plastic Hub in the AR.Plastic-compatible tools:

– Aladin– Topcat– VOSpec– VisIVO (C++)– AstroScope– Xmdv-lite– TabView– VAST

Coming soon:– Anomaly Detector,Eirik? VOEvent (Perl) ? VOQuest

Oct 05 Nov 05 Dec 05 Jan 06 Feb 06 Mar 06 Apr 06

0

1000

2000

3000

4000

5000

6000

7000

8000

Web Hits

Hits

Page 11: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Where are we now II?

Bindings available for R, PythonComing soon: IDL?Java libraries for accessing plastic hubWebsite:

– http://plastic.sourceforge.net

Mailing lists:– http://

plastic.sourceforge.net/mail-lists.html

Page 12: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Hidden slides with code examples to follow....

Page 13: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

PLASTICPlatform for Astronomy Tool InterCommunication

Moulded by● Thomas Boch● Marco Comparato● John Taylor● Mark Taylor● Noel Winstanley

Other contributors:● Alasdair Allan● Sebastien Derriere● Pierre Fernique● Doug Tody

C++

Perl

Page 14: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Anomaly Detection

Using:– CEA– ACR– Plastic– Aladin/Topcat/....everything, really

Credits:– Andy Connolly (Pitt)– Bob Mann (Edi)– John Taylor (Edi)– The AstroGrid & Plastic teams

Page 15: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Anomaly Detection Application

Take a source VOTable (e.g. From MySpace)Run a remote task that extracts the column headingsGet the user to select the column headings of interest, and reduce the table to these columnsCreate a workflow document that sends this table to the Anomaly Detector CEA application (plus does some table format stuff)Submit the workflow to JESVisualise the results via Plastic

Page 16: Binding applications with PLASTIC John Taylor Institute for Astronomy, Edinburgh / AstroGrid Topcat Astr oSco pe Plastic

Anomaly Detection Application

AD Client ACR

Select src table

Get cols

R

Run AD WF

Wild Wild WebPlasticHub

Show results table

Show “interesting” images

MySpace

JES

AD CEA

Table HelperCEAs

Col SelectorCEA