NOMADS Graphical Application

NOMADS Development

 

A graphical user interface (GUI) is a graphical display that contains devices or controls that enable users to perform interactive tasks in an application. Arguably, a well-designed GUI is quite often the most compelling feature of an application, at least from the users' perspective.

One of the more popular aspects of PxPlus is its ability to incorporate a rich variety of graphical components, such as panels (forms), menus, tool bars, buttons, radio buttons, check boxes, list boxes, and scrollbars - just to name a few. The easiest way to design and build PxPlus GUI functionality is to use NOMADS, the Non-procedural Object Module Application Development System.

Important Note:
If you are running a version of PxPlus that is higher than your activation, you will not be allowed to process any NOMADS panels due to potential compatibility issues.

NOMADS is an easy-to-learn, easy-to-use, programming environment for the development and implementation of PxPlus GUI applications. NOMADS employs a top-down approach that streamlines and simplifies graphical development tasks, optimizes system resources, and saves time.

It provides an interactive, visually oriented framework for creating panels (forms, windows or dialogues), populating them with controls, and then associating logic with these controls. The NOMADS Development Environment provides all the tools you need to build these components, which are automatically generated for you in PxPlus using a powerful built-in run-time engine, *winproc.

Development Environment

NOMADS is comprised of a Session Manager and a Design/Development Toolset for building GUI components. It provides an efficient, creative environment for:

The system features a common data manager for consistent access to a variety of data files. It also facilitates the conversion from character-based to GUI functionality by allowing you to run graphical and character-based application components concurrently.

GUI Components

NOMADS assembles groups of interrelated components to define the panels, dialogues and windows used in your GUI application. The object definitions for these components are stored in keyed data files called libraries. See Library Object Selection.

Note:
The terms object and control are often used interchangeably. In this documentation, an object may refer to any component associated with a GUI application. Control (or control object) is reserved only for the graphical elements that have user functionality associated with them (buttons, list boxes, scrollbars, etc.).

NOMADS Engine

At the heart of NOMADS is a powerful run-time engine, *winproc, the central controller that operates in PxPlus behind the scenes. It processes the information stored in library objects, generates GUI components and executes associated event-handling logic.

Your PxPlus application requires a PROCESS directive to run NOMADS-based components. At run time, PxPlus converts this statement into a CALL to *winproc, which then generates the graphical user interface for your PxPlus application. See Invoking a Panel from an Application.

Program Interface

There are several ways to incorporate NOMADS GUI components and set up event-handling logic to be processed within your PxPlus application.

A list of reserved NOMADS Variables is available for use in your program. NOMADS components can be managed and controlled through use of the PxPlus Object-Oriented Programming (OOP) interface. Using the PxPlus COM interface allows you to incorporate ready-made (third party) Windows components directly into your NOMADS panels.

See Program Interaction.

Design/Development Toolset

NOMADS includes a set of tools and utilities for building graphical components and defining how your GUI will work with your application:

Library Object Selection

This is your central console for managing library objects once a library file has been selected for editing. It displays a list of the object definitions stored in the library.

It is the primary launch point for all of the library object creation tools and maintenance utilities in NOMADS.

Panel Designer

The Panel Designer is the primary design interface for developing panels, drawing layouts, and creating various user controls with associated logic and data. It is fully integrated with the PxPlus Integrated Toolkit (IT) program editor.

All of the details of your GUI components are stored in a library file, which is then processed by *winproc at run time.

For information on creating the different types of controls that can be added to panels, see Creating Panel Controls.

File Maintenance Generator

The File Maintenance Generator automatically generates new NOMADS panels and/or Webster+ HTML pages as file maintenance or inquiry-only panels with built-in editing and browse functionality, based on data files defined in a PxPlus Data Dictionary.

Options are provided to create a single panel or a panel with multiple folders, to position edit and browse buttons on the panel, to determine whether acknowledgement and confirmation messages are to be displayed, and to determine what update logic should be used.

(The File Maintenance Generator was added in PxPlus 2019.)

Query Subsystem

The Query Subsystem generates panels that display records from datasets and return a value associated with a record selected by the user. Query datasets can be based on an existing Data Dictionary definition, a PxPlus View, an ODBC data source, or a manually defined file with no embedded dictionary.

Smart Controls

Provides developers with the ability to make self-loading controls to display and select the contents of data files or database tables.

Security Manager

This feature allows you to control access to panel controls by setting up security classifications to match specific user IDs.

Message Library Maintenance

This utility allows you to create and maintain a set of text messages outside your program code and facilitates supporting multilingual environments.

System Maintenance Tools

Various tools are available for performing system-level housekeeping and administrative tasks.

NOMADS Session Manager

To get started on a GUI development project in NOMADS, invoke the NOMADS Session Manager by running the PxPlus program "*nomads". Run this directly from the PxPlus Command line either by entering RUN "*nomads" or by simply entering nom. You can also use a shortcut that has been set up for this purpose. During installation, PxPlus for Windows places a NOMADS shortcut under the group PVX Plus Technologies > PxPlus, which can be accessed via the Windows Start menu.

A NOMADS session begins at the NOMADS Session Manager. All NOMADS development tools, system-level options and utilities, and any existing development projects are accessed initially via the Session Manager window.

The Session Manager menu bar consists of the following:

Library

Consists of options for creating, opening, and editing a GUI development project (library) in NOMADS. See Opening a Library File.

Dictionary

Consists of options for defining and maintaining file definitions:

Maintenance

Invokes Data Dictionary Maintenance.

Classes

Invokes Data Classifications.

File Link Maintenance

Invokes File Link Maintenance.

Password

Invokes Data File Password Utility.

User Reserved Words Maintenance

Invokes User Reserved Words Maintenance.

(User Reserved Words Maintenance was added in PxPlus 2020.)

Security

Used to set up security based on user IDs and security classes (used to identify the type of user and to control access to the system). See Security Manager.

Options

Consists of system-level configuration and maintenance options. See System Options.

Help

Displays NOMADS version number and copyright information.

Utilities

Access to various associated PxPlus utilities:

System

Invokes System Utilities.

Application Parameter Configuration

Invokes Application Parameter Configuration.

Views Data Source Definition

Invokes Data Source Maintenance.

Views Definition

Invokes View Maintenance.

Report Writer

Invokes Report Designer.

Library Language Translation

Invokes Library Language Translator.

CSV File Import

Invokes CSV File Import.

Chart Image Scheduler

Invokes Chart Image Generation Schedule Maintenance.

AutoChart File Maintenance

Invokes AutoChart Definition File Maintenance.

Query Profile Information Maintenance

Invokes Query Profile Information Maintenance.

Panel Conversion Utility

Invokes Panel Layout Utility.

Wizard Creation Wizard

Invokes Wizard Creation Wizard.

Library Bulk Edit

Invokes Library Bulk Edit and Search.

(The Library Bulk Edit utility was added in PxPlus 2017 and renamed to Library Bulk Edit and Search in PxPlus 2023 Update 1.)

Calendar

Invokes Calendar Control Definition.

(The Calendar utility was added to the Utilities menu in PxPlus 2022.)

Quit

Exits NOMADS.

Development of a GUI application in NOMADS usually begins with the Library option. You can create a new library, select an existing library for editing, as well as compare, merge, and edit object definitions from different libraries.

See Also

Library Object Selection
Accessing Library Objects from IDE
Maintaining Library Objects