developing sophisticated applications in sir(powerpoint)

22
New York Conference 2005 Developing Sophisticated Applications in SIR

Upload: databaseguys

Post on 18-Jul-2015

504 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Developing Sophisticated Applications in SIR(powerpoint)

New York Conference 2005

Developing Sophisticated Applications

in SIR

Page 2: Developing Sophisticated Applications in SIR(powerpoint)

Unsophisticated

I’m the only user

I’m only go to do this once anyway

I know what these codes mean

If anyone wants any of this stuff they have to come to me anyway

You can do anything with a spreadsheet

Page 3: Developing Sophisticated Applications in SIR(powerpoint)

Sophisticated Applications

Other People Use It– Reliable

– Repeatable

Long Lived– Changes in People

– Changes in Application

Understand Requirements– Implementation may not be the problem

Page 4: Developing Sophisticated Applications in SIR(powerpoint)

Data, Processes and Interfaces

Database Design – Driven by data

– Data Analysis from existing/proposed documents or systems

– Records and Keys

– Coding systems

Processes – who, what, when?– Regular Data Input

– Standard Tasks

– Interfaces to other systems

– Queries and analyses

Page 5: Developing Sophisticated Applications in SIR(powerpoint)

Data, Processes and Interfaces

User Interface

– Easy to use

– Easy to learn

– Consistent

Implementation Issues

– Test Database

– Data Base Administration

– Long Term Maintenance

– Documentation

Page 6: Developing Sophisticated Applications in SIR(powerpoint)

Building Sophisticated Applications in SIR

‘Cooking with SIR’

– Known Ingredients

– Possibly some old favorites

– Fresh Ideas

Four presenters

– Tony Reardon & David Baxter

SIR developers

– Dave Doulton and Tom Shriver

Long term sophisticated SIR users

Page 7: Developing Sophisticated Applications in SIR(powerpoint)

Timetable

Day 1 12:30 Overview

Creating and Maintaining a Database

14:30 Building User Interfaces – David Baxter

Day 29:00 Building Sophisticated Processes

10:30 – 11.00 Converting from earlier versions of SIR – David Baxter

13:00 Exchanging Data between SIR and other Systems – Dave Doulton

14:30 A Case Study – Tom Shriver

Page 8: Developing Sophisticated Applications in SIR(powerpoint)

Creating and Maintaining a Database

New Database– Logical Design

– Normalization

Eliminate redundant data

Identify data dependencies – keys

SIR Schemas

PQL Schema Functions– Simple Data Dictionary

Page 9: Developing Sophisticated Applications in SIR(powerpoint)

Internals of SIR database

Structure of records

Structure of blocks

Structure of index

Loading Factor

Page 10: Developing Sophisticated Applications in SIR(powerpoint)

Concurrent Update

Master

– General Principles

– Database Access

– Lock Management

– ‘Difference File’

– Managing Master

Page 11: Developing Sophisticated Applications in SIR(powerpoint)

Backup and Restore

Unload/Reload

Journals

Restructuring

Export/Import

Verify

Page 12: Developing Sophisticated Applications in SIR(powerpoint)

Building User Interfaces in SIR

Menus & Dialogs

Generic Database Applications

Spreadsheet & Forms

Other Interface Possibilities

Page 13: Developing Sophisticated Applications in SIR(powerpoint)

Menus and Dialogs

Menu Overview

Writing and Running Menu Programs

Menu Tips

Dialog Overview

Dialog Programs

Dialog Painter

Dialog Tips & Tricks

Page 14: Developing Sophisticated Applications in SIR(powerpoint)

Generic Database Applications

Programs and Retrievals

Schema Functions

Generating Code

Example Applications

Page 15: Developing Sophisticated Applications in SIR(powerpoint)

Spreadsheet & Forms

PQLForms

Writing Forms

Generating Forms

Forms Painter

SPREADSHEET DBMS command

GRID PQL Command

PQL+Forms+Grid

Page 16: Developing Sophisticated Applications in SIR(powerpoint)

Other Interface Possibilities

GUI vs Console Interfaces

ODBC/SIRSQLs Interface

CGI Interface

API Interface

Page 17: Developing Sophisticated Applications in SIR(powerpoint)

Building Sophisticated Processes

Review of SIR Structure

Command Processing ‘scripts’

Use of Globals

PQL as development tool

– Review of Syntax

– Recent Commands

Page 18: Developing Sophisticated Applications in SIR(powerpoint)

PQL

EXECUTE DBMS

GUI commands outside Dialogs

Current capabilities for file and directory processing

ARRAY Processing

GRID command

LOOKUP command

PQLForms

Page 19: Developing Sophisticated Applications in SIR(powerpoint)

Converting from Earlier Versions of SIR

EXPORT/IMPORT

PQL Programs

ICE Procedures

FULLSCREEN PQL

SIR3.2 Menus

SIRFORMS

HELP Tabfiles

Tips & Tricks

Page 20: Developing Sophisticated Applications in SIR(powerpoint)

Exchanging Data between SIR and Other Systems

ODBC

– Setting up ODBC sources

– ODBC import

– ODBC PQLl

– ODBC members

Using sirweb.cgi

ODBC and sirweb.cgi

ODBC and PQLServer

Page 21: Developing Sophisticated Applications in SIR(powerpoint)

Case Study

Implementation Philosophies & Strategies for Sophisticated Applications

Brief description of the MNYR database

Database Management on Remote Control

A Model for End-User Database Navigation Systems

Useful End-User Features

Page 22: Developing Sophisticated Applications in SIR(powerpoint)

New York Conference 2005

Developing Sophisticated Applications

in SIR