Framework Programming

Read this section only when you are finished with your prototype.

You turn your Framework prototype into a real application by writing programs that act as real filters and command handlers.

As you complete each filter or command handler you 'snap it into' the Framework - replacing the prototype version.

The VLF design intention is that your Framework gradually evolves from being a prototype application into a real application as you gradually replace each prototype filter or command handler with a real one.

These are the basic things you need to know to start creating real filters and command handlers:

In VLF-ONE

Filters

A VLF-ONE filter is VL reusable part.

The Target Platform must be Web Browser or All platforms.

The VL reusable part must start with Begin_Com Role(*EXTENDS #VF_AC007O)

Command Handlers

A VLF-ONE command handler is VL reusable part.

The Target Platform must be Web Browser or All platforms.

The VL reusable part must start with Begin_Com Role(*EXTENDS #VF_AC010O)    

In VLF-WIN

Filters

A VLF-WIN filter is VL reusable part.

The Target Platform must be Windows/ IBM i / Linux or All platforms.

The VL reusable part must start with Begin_Com Role(*EXTENDS #VF_AC007)

Command Handlers

A VLF-WIN command handler is VL reusable part.

The Target Platform must be Windows/ IBM i / Linux or All platforms.

The VL reusable part must start with Begin_Com Role(*EXTENDS #VF_AC010)

See Filter and Command Handler Anatomy

Remember that normally you don't have to code filters or command handlers by hand, instead you can use the Common Activities tab (VLF-ONE) or the Program Coding Assistant (VLF-WIN) to generate the code for you. 

Hidden command handlers are a special type of command handler that perform tasks but which are not displayed.

See Hidden Command Handler Anatomy.

Once you understand the basic anatomy of filters and command handlers you can progress on to understanding the VLF in more depth:

 

As you gain experience with filters and command handlers you might also be interested in some advanced features:

Also see: