SAT Examples
S@
Home SATGUI SATSHELL SATFORM SATFILTER SATREPORT SATMYSQL License Download Examples Contact

Demo Application

The SAT Demo application is a simple computer inventory system, using data stored in a MySQL database.

The Demo application uses all of the currently available SAT components (SATGUI, SATFORM, SATFILTER, SATMYSQL and SATREPORT).

There are two versions of the Demo application, Demo1 which uses buttons for action/navigation, and Demo2 which uses a menubar.

SATGUI Examples

For many SAT/DL commands, when displaying the SAT/DL Command Reference page, selecting the more link next to the Example of the command will display a page of basic examples of the command usage.


Telephone Directory Application: This is sample code for a basic "Telephone Directory" application.

This example uses a single screen, a single process script and a datafile.


SATHELP: Help Text Viewer: This is sample code for a basic "Help Text Viewer" application.

This example uses borders (as containers), buttons, check buttons, entry field, multi column list, multiple windows,read-only text and radio buttons.


SATADMIN: Activity Summary: This is the code used by the SATGUISVR to generate the "Activity Summary" display.

This example uses toolbar (with "Balloon Help" and "Action Confirmation Dialog"), disabled entry fields, radio buttons and user defined validations.


SATADMIN: Profiles: This code is used by the SATGUISVR to generate the "Profiles" display.

This example uses toolbar (with "Balloon Help"), multi column list, entry fields, radio buttons and user defined validations.

SATSHELL Examples

For many SAT/DL commands, when displaying the SAT/DL Command Reference page, selecting the more link next to the Example of the command will display a page of basic examples of the command usage.


Linux "/etc/passwd" viewing utility: This is a very simple example intended to illustrate the recommended method to interface a shell script with SATSHELL.

This example uses toolbar (with "Balloon Help" and), multi-column list and disabled entry fields.


An "Address Book" application: This is a more complex example to demonstrate an application with four screens, each supporting multiple options and a greater variety of Display Items (Widgets).

This example uses toolbar (with "Balloon Help"), button grid, multi column list, entry fields, disabled entry fields, radio buttons, pick list and user defined validation.


A basic text editor: This is a more complex example to demonstrate an application using a menubar, text items in both edit and read-only modes and file select/save dialogs.

This example uses menubar, file select/save dialogs, button/label grid, editable text and read-only text with "tag" processing.


A basic help text display utility: This is a more complex example to demonstrate an application using multiple (child) windows, border containers, tree-item and "notebook" style facility using a "proc".

This example uses borders (as containers), buttons, check buttons, entry field, multi column list, multiple windows, read-only text and radio buttons.

SATFORM Examples

Mailshot letter: The source data for this letter is a colon delimited text file, formatted using an awk script.

This example uses bold/underline/italic attributes. Font style and size. Variable data.


Pay increase letter: The source data for this letter is a colon delimited text file, formatted using an awk script.

This example uses bold/underline/italic attributes. Variable and Predefined data (unmodified and using mixed case conversion). Positioning text. Positioning numbers using right justification.


Account balance letter: The source data for this letter is a colon delimited text file, formatted using an awk script.

This example uses bold/underline/italic attributes. Variable and Predefined data (unmodified and using mixed case conversion). Positioning text. Conditional/Calculation Macros. Labeled text blocks. Passing variable data through the command-line.


Invoice: The source data for this letter is a MySQL database formatted using SATMYSQL.

This example uses bold/italic attributes. Font style and size. Special character. Variable and Predefined data (unmodified and using mixed case conversion). Positioning text. Positioning numbers using right justification. Box drawing.

NOTE: This also appears as a SATMYSQL example.

SATFILTER Examples

Mailshot letter: This example uses bold/underline/italic attributes. Font style and size.


Pay increase letter: This example uses bold/underline/italic attributes. Positioning text. Positioning numbers using right justification.


Account balance letter: This example uses bold/underline/italic attributes. Positioning text.


Invoice: This example uses bold/italic attributes. Font style and size. Special character. Positioning text. Positioning numbers using right justification. Box drawing.

SATMYSQL Examples

Invoice: The source data for this letter is a MySQL database formatted using SATMYSQL.

This example uses bold/italic attributes. Font style and size. Special character. Variable and Predefined data (unmodified and using mixed case conversion). Positioning text. Positioning numbers using right justification. Box drawing.

NOTE: This also appears as a SATFORM example.


Copyright © 2003 Adrian Davis.