1 introducing the rappture toolkit michael mclennan hubzero® platform for scientific collaboration...

9
1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license online: by-nc-sa/3.0

Upload: harry-sanders

Post on 13-Dec-2015

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

1

Introducing theRappture Toolkit

Michael McLennanHUBzero® Platform for Scientific Collaboration

Purdue University

This work licensed underCreative Commons

See license online:by-nc-sa/3.0

Page 2: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

2

Take a trip back to 1985…

Copyright Universal Picturespicture from imdb.com

The Boys of SummerDon Henley

Video still from YouTube.com

Superbowl XIX: 49ers vs MiamiSuperbowl XIX: 49ers vs Miami

Video still from Hulu.com

Tetris for IBM PCTetris for IBM PC

Screen shot from Wikipedia.org

Semiconductor Electrostatics QUantum AnaLysisSEQUAL 2.1 - 7862 lines of Fortran 77

ResonantTunneling

Diode

Page 3: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

3

Now back to the present…

Magnetic Tape: Live Tool:Priceless$10

Page 4: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

4

Introducing: The Rappture Toolkit

Rappture

inputsoutputs

• Rapid Application Infrastructure

• Released in May 2005

• Open Source (rappture.org)

• Create standard desktop apps

• Works with your favorite programming language

Page 5: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

5

Used to deploy hundreds of tools

Page 6: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

6

Three parts

Builder Runner Tester

rappture -builder rappturerappture -run

rappture -tester

tool.xml

<XML>

Generates tool description

tool.xml

<XML>

run.xml

<XML>

tool.xml

<XML>

tests

<XML>

Reads tool descriptionGenerates simulation results

Reads tool descriptionRuns tests and compares results

Page 7: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

7

Rappture Builder

Drag controlsfrom the palette

and drop ininputs/ouputs

1

4 Save your tool.xml file

Click on a controland edit its parameters

2

3Click on the “Preview” tabto preview your tool

Page 8: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

8

Demo: Hello, World!

string

boolean

string

program

namestring

resultstring

exclaimboolean

• Takes a name and an “enthusiasm” level

• Enthusiasm adds an exclamation point

• Produces a “hello, world” string

Build two ways:

Page 9: 1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative

9

Exercise #1: Build a simple Addition tool

v1 + v2

v1integer

suminteger

v2integer

Pick your favorite language: