Roll Screen Development Debugging assistance for building Rocks Rolls with screens OSGC, May 2008 Nadya Williams University of Zurich.

Slides:



Advertisements
Similar presentations
Creating Data Entry Screens in Epi Info
Advertisements

SolidWorks Enterprise PDM Data Loading Strategies
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
With Folder HelpDesk for Outlook, support centres and other helpdesks can work efficiently with support cases inside Microsoft Outlook. The support tickets.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
System Design and Memory Limits. Problem  If you were integrating a feed of end of day stock price information (open, high, low, and closing price) for.
Single Search By Rakphao Theppan, librarian Searching Online Resources.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Searching a Database Creating a Form for Users to Search a Database.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Database Design IST 7-10 Presented by Miss Egan and Miss Richards.
Simple Web SQLite Manager/Form/Report
Using Microsoft Outlook: Basics. Objectives Guided Tour of Outlook –Identification –Views Basics –Contacts –Folders –Web Access Q&A.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Online Surveys A Look at Cardiff-TeleForm Denise H. Wells Planning and Research Central Piedmont Community College.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
Linux Operations and Administration
WorkPlace Pro Utilities.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
SqlReports Dean Dahlvang PSUG-MO March About Dean Dean Dahlvang Director of Administrative Technology for the Proctor.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Requirements Information and data which need to be displayed or accessible to the user Sitemapping (Site Map) Flow Chart models of site structure displaying.
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
Internationalisation and Localisation Agenda Overview Configuration Language Packages Dictionary Files Default Tool Content Right to Left Support Translation.
PHP meets MySQL.
1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed.
Introduction to ASP.NET T.Ahlam Algharasi. The Visual Studio IDE Start page 2.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
ECA 225 Applied Interactive Programming1 ECA 225 Applied Online Programming basics.
© 2006 UC Regents1 Track 1: Cluster and Grid Computing NBCR Summer Institute Session 2.1: Cluster and Grid Computing: Case Studies Building a Roll August.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Porting a large scale enterprise application from Tcl/Tk 8.4 to 8.5 Prashant Thakre, Tushar Gupta {prashant_thakre, Gaurav Bansal.
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
Intermediate 2 Computing Unit 2 - Software Development.
ICM – API Server & Forms Gary Ratcliffe.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
® IBM Software Group © 2006 IBM Corporation JSF Rich Text Area Component This Learning Module describes the use of the JSF Rich Text Area component – for.
Overview Find Information quickly and easily Fully customisable Regular (subscriber selected) updates Comprehensive support (7 days)
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
HEI/OCAN College Access Program Data Submissions.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
Google maps engine and language presentation Ibrahim Motala.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED FORMS.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Section 10.1 Define scripting
Advanced HTML Tags:.
Development Environment
Mapping for the interwebs
Unit M Programming Web Pages with
Guide to Linux Installation and Administration, 2e
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Unit M Programming Web Pages with
Core LIMS Training: Advanced Administration
Introduction to Programming the WWW I
Microsoft Office Illustrated
INTAKE OF NEW PORTFOLIO AND INVOICES
Electronics II Physics 3620 / 6620
February 11-13, 2019 Raleigh, NC.
PCW-09 Vision: Information Center Approval System
3rd Party Widgets & Custom Code
Login Main Functions Via SAS Information Delivery Portal
Presentation transcript:

Roll Screen Development Debugging assistance for building Rocks Rolls with screens OSGC, May 2008 Nadya Williams University of Zurich

May 14, 2008OSGC2 Very Brief Rolls Overview Rolls provide for a cluster customization Rolls reliably install and configure a software on a cluster frontend  Extend/modify stock OS  Add third party packages Interaction during install only via screens Fully tested before release

May 14, 2008OSGC3 Building Roll’s Screen

May 14, 2008OSGC4 Screen’s Functions Collect user input before roll installation Verify user input and forward it to the rocks installer Depends on: what a roll developer puts in!

May 14, 2008OSGC5 Screen’s Pros and Cons Laconic form Provides help Verify input correctness Easy and fast to use Limited space Screens are available only during cluster install Don’t assume user can type Can’t foresee all site details

May 14, 2008OSGC6 Prepare for the roll build Check out CVS Rocks distribution # cvs login # cvs checkout -r ROCKS_$VERSION Change to the top-level rolls’ directory: # cd rocks/src/roll Create new roll directory # bin/make-roll-dir.py -n YourRollName -v YourRollVersion # ls YourRollName graphs/ Makefile nodes/ src/ version.mk Create your roll

May 14, 2008OSGC7 screen-myroll.xml Add your Screen Prerequisites from rocks cvs repository  roll/bin/  roll/base/src/screens  Your basic roll structure is ready Skeleton xml files, makefiles … Makefile src/ version.mk Makefile usersguide myroll graphs/ default/ myroll.xml nodes/ myroll.xml include/ javascript/ file1.js file2.js fileN.js 1. Add screen xml file to nodes/ 2. Add javascript 3. Add screen to the graph

May 14, 2008OSGC8 screen-myroll.xml file Your Roll Title My field label Info_NameForAppsGlobals string 20 ReasonableDeafaultValue Help text for the variable field. check_function1 …

May 14, 2008OSGC9 Screen XML Language Screen contains  Title Your title description  code Specify javascript file  variable Simple syntax. Supports multiple variables. Defines info about variable “appearance” on the screen Defines info that goes to app_globals table

May 14, 2008OSGC10 Screen attributes name  Format: Service_Component  Service and Component are columns names in the app_globals database table.  Use “Info” for Service: Info_GfarmMetaServer value  Format same as “name” default  Sets the value of this variable pine.forrest.edu label  Sets the form label type  String, menu, ipv4-address size  Sets the size of the screen field help  Sets the explanation for the variable validate  Sets the javascript validation function  Use the same name as in myroll.js javascript file check_GFmetaserver

May 14, 2008OSGC11 Add screen to the graph In graphs/default/myroll.xml:  add ordering  add edges screen-myroll screen-partitioning screen-myroll myroll-server myroll-client

May 14, 2008OSGC12 File myroll.js Contains screen variable verification One function per variable Can use existing code from other rolls Copy desired file from otherroll/include/javascript/ to myroll/include/javascript/ For examples see rolls: base gama

May 14, 2008OSGC13 Debugging Roll’s Screen

May 14, 2008OSGC14 Screen html files Create screen html files: # export PATH=$PATH:`pwd`/rocks/src/roll/bin # cd myroll/ # make-screen-val.py -x screen-myroll.xml myroll Make-screen-val.py actions:  Uses your javascript  Creates myroll/screenval/ and all files under it View html files: # cd screenval/ # firefox file:/// /myroll/screenval/rocks.html Note: will not work with Safari roll name screen xml file

May 14, 2008OSGC15 View your Screen

May 14, 2008OSGC16 Try your Screen 1 2

May 14, 2008OSGC17 What can you test Test input fields one by one  alter the default value and press “validate” Test your javascript  If don’t see expected behavior, check your javascript Test, test, test… while ( errors ) { recreate screenval/ with make-screen-val.py reopen rocks.html fix another error in your javascript } Lets see this in action

May 14, 2008OSGC18 When Things Go Wrong Problem with javascript syntax One of javascript files is absent Names mismatch Function is not returning value

May 14, 2008OSGC19 Thank you! Questions ?