Variations of Module Generation Manual, Semi-Automatic, Automatic.

23
Variations of Module Generation Manual, Semi-Automatic, Automatic

Transcript of Variations of Module Generation Manual, Semi-Automatic, Automatic.

Page 1: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Variations of Module Generation

Manual, Semi-Automatic, Automatic

Page 2: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Create a First-Cut Design Manually

1. Set display properties.

2. Create a module.

3. Create module components.

4. Create module data usages.

5. Link data usages.

6. Generate and run the form.

Page 3: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Display Display propertiesproperties

DefinitionDefinitionpropertiesproperties

XX

Action Edit Block Field

++Copies

XX

Action Edit Block Field

++Customers:

Types of Column Property

Other DB

NameData typeOptionality . . .

Display TypeDisplay SequenceLength . . .

• Set display properties Set display properties beforebefore creating modules creating modules

Page 4: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Column Display Properties

• Provide defaults for how modules use the column

• Promote standards• Save time

Page 5: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Where to Set Display Properties

Default Display

Help

Column Properties

Hint

Help Text

Default Display Type

Alignment

Display Length

Display Height

Display Sequence

Format Mask

Prompt

Page 6: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Many Display Properties Also Appear in Dialogs

MON-DD-YYY

Page 7: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Create a Module

Create and Edit Modules

Module Application Guide

Module Wizard

Module Component Data Wizard

OrTools Module App Guide

Radio button

Page 8: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Create a Module Component

ModulesACC0010

Module Component Data Wizard

Options Run WindowTools

. . .. . .

Design EditorDesign Editor

Module Component Data Wizard

Page 9: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Link Module Components• Table usages

must exist.

• A foreign key must exist.

• You must link base table usages.

• You can turn linked base table usages into lookup usages.

Data ViewData View

Page 10: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Setting Generator Options• Use the Generator Options screen

for automatic compile and run:

Customize...

Generator Options

Forms Design Rec...

. . .. . .Window HelpOptions

. . .. . .

Forms...Reports...Graphics...

Destination Directory,Run automatically,etc.

Page 11: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Generate and Run1. Start the generation

2. Watch the messages

Generating the binary...Generating the executable...

3. Save or revert changes

Generation complete.You can save, revert, . . .

xGenerate Form

Start

Start

There may be questions

Page 12: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Create a First-Cut Design Semi-Automatically

1. Set display properties.

2. Create a module.

3. Link the module to a function.

4. Run the Create Module Data Usages utility.

5. Generate default links.

6. Generate and run the form.

An alternative to running ADT. This starts in the RON not the DE.

Page 13: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Create a Module in the RONHOLLYWOOD(1): NavigatorHOLLYWOOD(1): Navigator

++

HOLLYWOOD (1)

Module Design

Modules+

-+-

. . .

Create Object

HOLLYWOOD(1): Module PropertiesHOLLYWOOD(1): Module Properties

+

Short Name

Purpose

Module Type

REN0040

Default

Rent a video

Page 14: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Assumptions

• System and Data analysis performed.

• Data usages mapped• DDT has been run• Column display set

Page 15: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Link Module to Business Functions

. . .- REN 0040

- Usages

Implementing Business Functions

. . .

+f

Create Association

Create Module Function Usages

Business function 2

Business function 3

Business function 1

OK

Business function 1

Page 16: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Link Module to Business Functions

. . .REN 0040

- Usages

Implementing Business Functions

. . .

-Business Function1

. . .

-

Page 17: Variations of Module Generation Manual, Semi-Automatic, Automatic.

. . .

Create Default Module Data Usages

. . .Utilities

Create Function Attribute Matrix

Map unbound items

Run the Default Module Data Usages Utility

Client Server

InitializingCreating Module Components and Table usages...Creating Data Bound Items...Creating Argument Item usages…Creating Module Table usages...Creating Module Column usages...Generate data usages has completed successfully.

100%

LANGUAGE property of module must be defined

Page 18: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Run the Default Module Data Usages Utility

MKT0070FArgumentsWindows

Module ComponentsCATALOGSPUBLICATIONSREVIEWS

Page 19: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Generate Default LinksParent Link

ITEMS

Generate Default Links...

Find Second ParentAllow Foreign Keys Against...

Parent linkParent Link

ITEMS

ORDERS

Page 20: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Generate Default LinksFind Second Parent

CUSTOMERS

Generate Default Links...

Find Second ParentAllow Foreign Keys Against...

Parent linkParent Link

MEMBERSHIPS

ORDERS

ITEMS

Page 21: Variations of Module Generation Manual, Semi-Automatic, Automatic.

ORDERS

ITEMS

Generate Default LinksAllow Foreign Keys

CUSTOMERS

Generate Default Links...

Find Second ParentAllow Foreign Keys Against Master Components..

Parent linkParent Link

This is rare. Was not working in early releases.

Page 22: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Create a First-Cut Design Automatically

1. Set the display properties.

2. Run the Application Design Transformer.

3. Accept candidate modules.

4. Generate default links.

5. Generate and run the form.

Page 23: Variations of Module Generation Manual, Semi-Automatic, Automatic.

Application Design Transformer

FHDFHD

ModuleModule

Application Design TransformerApplication Design Transformer

Identical Entities. . .. . .

ModulesGenerate Options

Module Options

Merge Granularity

Then Generate Default Links