[Lazarus] Teaching Pascal at College

Martin Schreiber mse00000 at gmail.com
Fri Oct 14 13:59:47 CEST 2016

On Friday 14 October 2016 10:50:28 Michael Schnell via Lazarus wrote:
> With a more careful design it's absolutely possible to do "non RAD"
> programs by doing "GUI units" and "business code Units" that interact
> via Objects with functions, properties and events (callback-properties) .
Separating GUI and program logic is also possible with RAD. See for example 
MSEkicadBOM, the application I am currently working on.
It is a component and footprint database program for KiCad.

It consists of a datamodule with the program logic and the database and action 

a mainform with the mainmenu, GUI actions and the main datagrid:

and several editforms:

The editforms inherit from a common base editform with base functionality 
(datasource, navigator, timestamp display, window close logic...) and have no 
or GUI-code only. The connection GUI<>datamodule is made with TDataSource, 
action- and ifi-dataendpoint-components.

If done right the RAD-approach is productive and convenient, the projects are 
easily extendable and maintainable.


More information about the Lazarus mailing list