From BASIS DD to Barista Application in Five Easy Steps

Similar documents
From BASIS DD to Barista Application in Five Easy Steps

Building Inflation Tables and CER Libraries

Troubleshooting Replication and Geodata Services. Liz Parrish & Ben Lin

ST-Links. SpatialKit. Version 3.0.x. For ArcMap. ArcMap Extension for Directly Connecting to Spatial Databases. ST-Links Corporation.

D.T.M: TRANSFER TEXTBOOKS FROM ONE SCHOOL TO ANOTHER

Account Setup. STEP 1: Create Enhanced View Account

ON SITE SYSTEMS Chemical Safety Assistant

Watershed Modeling Orange County Hydrology Using GIS Data

v Prerequisite Tutorials GSSHA WMS Basics Watershed Delineation using DEMs and 2D Grid Generation Time minutes

Preparing Spatial Data

RADIATION PROCEDURES MANUAL Procedure Cover Sheet

ArcGIS 9 ArcGIS StreetMap Tutorial

SuperCELL Data Programmer and ACTiSys IR Programmer User s Guide

Bloomsburg University Weather Viewer Quick Start Guide. Software Version 1.2 Date 4/7/2014

SteelSmart System Cold Formed Steel Design Software Download & Installation Instructions

Geodatabase Best Practices. Dave Crawford Erik Hoel

Chapter 1. GIS Fundamentals

Location Intelligence Infrastructure Asset Management. Confirm. Confirm Mapping Link to ArcMap Version v18.00b.am

Esterification in CSTRs in Series with Aspen Plus V8.0

Introduction to ArcMap

Data Structures & Database Queries in GIS

Tutorial 12 Excess Pore Pressure (B-bar method) Undrained loading (B-bar method) Initial pore pressure Excess pore pressure

Geodatabases and ArcCatalog

Senior astrophysics Lab 2: Evolution of a 1 M star

(THIS IS AN OPTIONAL BUT WORTHWHILE EXERCISE)

Using the Budget Features in Quicken 2008

Portal for ArcGIS: An Introduction. Catherine Hynes and Derek Law

GIS Software. Evolution of GIS Software

Dose-Response Analysis Report

ISIS/Draw "Quick Start"

Quick Reference Manual. Ver. 1.3

M E R C E R W I N WA L K T H R O U G H

Demand Forecasting. for. Microsoft Dynamics 365 for Operations. User Guide. Release 7.1. April 2018

Introduction to ArcGIS Server Development

How to create a new geodatabase using the extract data wizard. 1. How to Extract the Schema to create a Geodatabase using an existing design.

Geographical Information Systems

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

HOW TO ANALYZE SYNCHROTRON DATA

Configuring LDAP Authentication in iway Service Manager

mylab: Chemical Safety Module Last Updated: January 19, 2018

Arboretum Explorer: Using GIS to map the Arnold Arboretum

Advanced Forecast. For MAX TM. Users Manual

PolarSync Quick Start

MERGING (MERGE / MOSAIC) GEOSPATIAL DATA

Leveraging Web GIS: An Introduction to the ArcGIS portal

Introduction to Spark

OECD QSAR Toolbox v.4.1. Tutorial illustrating new options for grouping with metabolism

Tutorial. Getting started. Sample to Insight. March 31, 2016

Working with ArcGIS: Classification

Exercises for Windows

REPLACE DAMAGED OR MISSING TEXTBOOK BARCODE LABEL

GPS Mapping with Esri s Collector App. What We ll Cover

ADDING RCGEO BASEMAPS TO ARCMAP. Versions 10.0, 10.1 and 10.1 sp1

University of Colorado Denver Anschutz Medical Campus Online Chemical Inventory System User s Manual

Road Ahead: Linear Referencing and UPDM

Performing Map Cartography. using Esri Production Mapping

How to Create a Substance Answer Set

Description of the ED library Basic Atoms

PostPoint Professional

ISSP User Guide CY3207ISSP. Revision C

T R A I N I N G M A N U A L 1. 9 G H Z C D M A P C S 80 0 M H Z C D M A /A M P S ( T R I - M O D E ) PM325

ELEC 1908 The Electric Potential (V) March 28, 2013

PP - Work Centers HELP.PPBDWKC. Release 4.6C

INTEGRAL. Science Operations Centre. Announcement of Opportunity for Observing Proposals (AO-7) Integral AO Tools Software User Manual

Copy the rules into MathLook for a better view. Close MathLook after observing the equations.

Stoichiometric Reactor Simulation Robert P. Hesketh and Concetta LaMarca Chemical Engineering, Rowan University (Revised 4/8/09)

Technical Procedure for Glass Refractive Index Measurement System 3 (GRIM 3)

Chemistry 14CL. Worksheet for the Molecular Modeling Workshop. (Revised FULL Version 2012 J.W. Pang) (Modified A. A. Russell)

ArcGIS Enterprise: What s New. Philip Heede Shannon Kalisky Melanie Summers Sam Williamson

Work and Energy. This sum can be determined graphically as the area under the plot of force vs. distance. 1

Planning Softproviding Meat User Documentation

EEOS 381 -Spatial Databases and GIS Applications

Newton's 2 nd Law. . Your end results should only be interms of m

Ligand Scout Tutorials

Software for Landuse Management: Modelling with GIS

10. Facies Modeling Sequential Indicator Simulation (SIS)

The Geodatabase Working with Spatial Analyst. Calculating Elevation and Slope Values for Forested Roads, Streams, and Stands.

Geodatabases and ArcCatalog

41. Sim Reactions Example

CHEMICAL INVENTORY ENTRY GUIDE

TOP MARKET SURVEY INSTRUCTION SHEET. Requirements. Overview

NMR Predictor. Introduction

BUILDING BASICS WITH HYPERCHEM LITE

ArcGIS for Desktop. ArcGIS for Desktop is the primary authoring tool for the ArcGIS platform.

Automatic Watershed Delineation using ArcSWAT/Arc GIS

CityGML XFM Application Template Documentation. Bentley Map V8i (SELECTseries 2)

SeeSAR 7.1 Beginners Guide. June 2017

Software BioScout-Calibrator June 2013

Introduction to ArcGIS Server - Creating and Using GIS Services. Mark Ho Instructor Washington, DC

Using a GIS to Calculate Area of Occupancy. Part 1: Creating a Shapefile Grid

Databases through Python-Flask and MariaDB

Hot Spot / Point Density Analysis: Kernel Smoothing

Computational Study of Chemical Kinetics (GIDES)

Creating Empirical Calibrations

ICM-Chemist How-To Guide. Version 3.6-1g Last Updated 12/01/2009

TORO SENTINEL APPLICATION NOTE AN01: ET-BASED PROGRAMMING

Geo-enabling a Transactional Real Estate Management System A case study from the Minnesota Dept. of Transportation

Using SkyTools to log Texas 45 list objects

Ocean Optics Red Tide UV-VIS Spectrometer (Order Code: SPRT-UV-VIS)

This tutorial is intended to familiarize you with the Geomatica Toolbar and describe the basics of viewing data using Geomatica Focus.

Transcription:

Y The steps are: From BASIS DD to Barista Application in Five Easy Steps By Jim Douglas our current BASIS Data Dictionary is perfect raw material for your first Barista-brewed application. Barista facilitates the extremely rapid creation and modernization of business applications. Cut out the enormously time-consuming GUI design and management tasks normally associated with the creation of a GUI application. Follow these steps and transform your venerable application to a tasty eye-catching delight! The goal is to create a new Barista application as shown below: Step 1. Define a Barista Application Step 2. Import to Barista Dictionary Step 3. Build Barista Forms Step 4. Create a Menu System Step 5. Test Drive Jim Douglas Software Engineer Contractor 2 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

We'll use the CD-Store sample database, which can be found here in Enterprise Manager: Step 1. Define a Barista Application Detailed documentation for this process can be found in Creating and Synchronizing Applications. The first step is to define an application schema using the "Create Application" wizard. This process creates the directory structure that will contain our application. Partnership Language/Interpreter DBMS Development Tools System Administration Applications 1. From the Barista Development menu, select Utilities, Create Application. 2. Enter the following values: Sync File ID: cdstore Comp ID: 00000000 Comp Name: CD Store Directory: C:/CDstore/ Menu: cdstore Copyright: CDStore 3. Click [Next>]. B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 3

4. Select one or more language codes. (The current default language is initially selected.) 5. Click [Next>]. 4 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

6. Enter the following values: ID: CDS Description: CD Store 7. Click [Next>]. 8. Add the following global string value to the list: Name: DATA Value: (Copy from the CDSTORE value) 9. Click [Next>]. Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 5

10. Add the following global string value to the list: Name: DATA Value: (Copy from the CDSTORE value) 11. Click [Next>]. If you plan to write any programs that depend on the prefix to find files and/or programs, enter the directories (e.g. C:/CDStore/prog/ and C:/CDStore/data/). Our test application won't use prefix entries, so we can skip this step. 6 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

12. Click [Create]. 13. Click [Yes]. Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 7

14. Click [Yes]. 15. Click [Sync]. 8 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

16. Click [Yes]. 17. Click [OK]. Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 9

At this point, the application schema the basic directory structure for your application has been created: [C:\]tree/f CDStore C:\CDStore config enu cdstore.syn data arc enu bar cdf def enu sync prog 18. Copy the data file from its original location: From: C:\Program Files\basis\guibuilder\cd-store\data\cd-store To: C:\CDStore\data\cd-store Step 2. Import to Barista Dictionary Detailed documentation for this process can be found in BASIS DD Definition Import Utility. 1. From the Barista Development menu, select Utilities, Import to Barista Dictionary 2. Complete the fields as follows: a. In Sync File ID, select the synchronization file created in the Create Application Utility. b. In DD Location, enter the directory containing the BASIS dictionary files you wish to access. Note this directory is normally named bbdict/ and will contain files named FILE.1, FIELD.1, etc. Press the magnifying glass to launch the File Open dialog and search for the directory. c. In Base Application, select the target application for the incoming data files. d. In Application Prefix, add a prefix, if desired, which will be applied to all file and field names when they are imported into Barista. e. Leave SQL DB Alias blank 10 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

3. Click [Next>]. 4. If required, enter the parameters to rename globals contained in the file path name in the BASIS dictionary. 5. Click [Next>]. Partnership Language/Interpreter DBMS Development Tools System Administration Applications 6. Barista displays a summary of the information as it will be imported. B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 11

7. [Click Next>]. 8. If required, enter the parameters to rename and consolidate column names from the original dictionary (CUST_ NUM, CUSTOMER_NUM & CUST_NO into CUSTOMER ID, for example). 9. [Click Next>]. 12 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

10. Enter the parameters to rename and consolidate element names from the original dictionary (DESC, DESCRIP & ITEM_DESC into DESC_30, for example). 11. [Click Next>]. 12. A list of all files defined in the source dictionary will be displayed. Click the check box for the CDINVENTORY table (the only table in this database). 13. Click [Import]. 14. Click [Yes]. Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 13

15. [Click OK]. The import process is now complete. Step 3. Build Barista Forms 1. From the Barista Development menu, select Maintenance, Form Manager. 2. Double-click CDINVENTORY located in the list on the right (or enter the search string CD). 14 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

3. Double-click (undefined) next to Optional Defs located in the list on the right (or enter the search string undefined). 4. Click the check boxes corresponding to the two print-related options: a. Allow 'Print Current Record' option b. Allow 'Print All Records' option 5. Click [OK]. 6. Press [F5] or click the [Run process] tool button to test your Barista form. Partnership Language/Interpreter DBMS Development Tools System Administration Applications 7. Close the form. B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 15

Step 4. Create a Menu System Now it's time to pull it all together. 1. Select a 32x32 icon for your application (http://images.google.com/images?q=cd+icon&imgsz=icon). Example: http://www.iconarchive.com/show/isimple-system-icons-by-fasticon/cd-icon.html 2. Save that icon to: barista/sys/images/im_menua_cdstore.png. Next, start creating the menu. 3. From the Barista Administration menu, select Maintenance, Menus. 4. Select the CDStore menu file. 5. Click [Maintain]. 16 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

6. Right-click on the menu root and select Add Application Menu. 7. Enter the following values: Description: CD Store Image ID: Cdstore (barista/sys/images/im_menua_cdstore.png) App Company ID: 00-000000 App Product ID: CDS Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 17

8. Right-click on the CD Store application menu and select Add Menu Item. 9. Select the CDINVENTORY alias from the grid. 10. Enter the following values (some will be filled in for you): Option ID: CDINVENTORY Option Type: Defined Table Description: CD-Store Inventory Master File Image ID: Table App Company ID: 00-000000 App Product ID: CDS 18 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

If you have an additional BBx program that works with this database; you can add it to the menu too. The following sample program reads the CD-Store data file and prints an inventory evaluation report to the screen: Partnership Language/Interpreter DBMS Development Tools System Administration Applications 11. Save that program as C:\CDStore\prog\inventory.src. 12. Add the following menu item: Option Type: Application Program Target: [CDSTORE_PROG]inventory.src Description: Inventory Evaluation Report Image ID: Report App Company ID: 00-000000 App Product ID: CDS B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 19

13. Click the close box. 14. Click [Yes] to save your menu system changes. 20 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

15. Click [Refresh] to activate the new menu. 16. Click the close box to close the menu editor. Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 21

Step 5. Test Drive 1. From the CD Store menu, select CD-Store Inventory Master File. 2. Select File, Print All Records to bring up the Barista Printing System. 3. Resize the columns. 4. Select one or more output formats. 22 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

5. Click the dropdown arrow on the [Create] button and select [Email]. (Skip this step if you don't have access to e-mail.) E-MAIL If this is the first time you have used the Barista e-mail system, a prompt to create an e-mail account will appear. 6. Enter an Account ID. 7. Click [Yes] to create an e-mail account. Partnership Language/Interpreter DBMS Development Tools System Administration Applications 8. Enter your SMTP e-mail host. B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 23

9. Enter the port number used by that host (some e-mail systems use port 25; others, including Apple's.Mac/MobileMe service, use port 587). 10. If your e-mail server requires authentication, check "Authentication Required" and fill in the Email User ID and Email Password. 11. Click the [Save] button. 12. Close the Email Accounts screen to return to the Send Email screen. 13. Fill in the standard e-mail fields (from, to, subject, etc). 14. Click [Run] (or press [F5]) to send the e-mail. 24 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8

15. Close the Document Output Display form. 16. Click the "Record Query" button to query records in the table. Partnership Language/Interpreter DBMS Development Tools System Administration Applications B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8 25

17. Click the close box to close this program. 18. To run your custom program (inventory.src), select Inventory Value Report from the CD Store menu. Summary Armed with a data dictionary definition of your BBx data file and Barista, you re just five steps away from giving your solution a modern cross-platform graphical user interface. So go and add some luster and shine to your trusted and proven solution today! 26 B A S I S I n t e r n a t i o n a l A d v a n t a g e N u m b e r 1 V o l u m e 1 2 2 0 0 8