Rappture Bootcamp: Building and Deploying Tools

By Michael McLennan

HUBzero.org, Purdue University, West Lafayette, IN

Category

Courses

Published on

Abstract

Rappture Bootcamp: Building and Deploying Tools

nanohub.org (HUBzero) lets you access simulation tools online via an ordinary web browser. Where do the tools come from? From you--hundreds of you throughout the world who are developing simulation and modeling tools for your hub. Anyone can upload their own code onto a hub and publish a tool for a limited group of colleagues or for the entire world to use. The code can be kept protected or given out as open source.

This tutorial, presented at the NCN Rappture Bootcamp at Purdue (May 22-24, 2012), shows you exactly how to do that. It describes Rappture, the Rapid APPlication infrastrucTURE, a toolkit within HUBzero that makes it easy to develop graphical user interfaces for scientific modeling tools. Use the Rappture Builder to drag and drop objects that define your interface. The Builder will generate code for a variety of languages, including C/C++, Fortran, MATLAB, Octave, Python, Perl, Java, Ruby, and Tcl. The resulting application is easy to deploy on any HUBzero-powered site, so a large community of users can access it through their web browser. HUBzero guides you through the deployment process. Learn how to contribute and publish a new tool, starting with a tool registration form, going through the process of uploading code into a Subversion repository, developing and testing your code within a workspace, and finally, approving and publishing your tool. Learn how to use the Rappture Regression Tester to verify that your tool is functioning correctly as you publish each new version your code.

Bio

Michael McLennan Michael McLennan is a Senior Research Scientist at Purdue University and Director of the HUBzero Platform for Scientific Collaboration. He created the Rappture toolkit as part of that platform. He has more than 20 years of software development experience in both academic and corporate environments, with an emphasis on computer-aided design tools and user interface design.

Dr. McLennan received a Ph.D. in 1990 from Purdue University for his dissertation on dissipative quantum mechanical electron transport in semiconductor heterostructure devices. He became a Tcl enthusiast when he joined Bell Labs in 1992 to work on tools for semiconductor device and process simulation. He is co-author of “Effective Tcl/Tk Programming” (published by Addison-Wesley) and “Tcl/Tk Tools” (published by O’Reilly and Associates). He also developed [incr Tcl], an object-oriented extension of Tcl, which is now used by thousands of developers worldwide, on projects ranging from the TiVo digital video recorder to the Mars Pathfinder.

Cite this work

Researchers should cite this work as follows:

  • Michael McLennan (2012), "Rappture Bootcamp: Building and Deploying Tools," https://nanohub.org/resources/14671.

    BibTex | EndNote

Time

Location

Purdue University, West Lafayette, IN

Tags

Lecture Number/Topic Online Lecture Video Lecture Notes Supplemental Material Suggested Exercises
Rappture Bootcamp 1.1: Introducing the Rappture Toolkit View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 1.2: What\'s Under the Hood? View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 1.3: Introduction to Scientific Programming in MATLAB View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 1.4: Adding Rappture to MATLAB Applications View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 2.1: Review of Scientific Programming in C and Fortran View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 2.2: Rappture with C and Fortran View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 2.3: More Rappture Objects View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 2.4: Using the Loader View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 2.5: Advanced Visualization View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 3.1: Regression Testing View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 3.2: Uploading and Publishing New Tools View HTML
View Notes (pdf) YouTube
Rappture Bootcamp 3.3: Using Subversion for Source Code Control View HTML
View Notes (pdf) YouTube