Layouts

We have ignored some things till now. Especially we have not discussed how Layouts (I'm refering to the gui-element layout.) are related to the whole story.

In the "layout" - drop-down listbox of the program (on tab "General") you can select a layout. At the moment only one layout is provided, namely "Standard". When the SWF starts, it scans Data/Plugins/SimpleWebFront/Standard for subdirectories. All subdirs found are listed as available layouts in the drop-down box. So a layout is basically a directory directoryname with a file called directoryname.ini in it. The ini-file specifies which other files are part of the layout and names them.

A ini-file is expected to have a section "General" with the following keys:

KeyRequired/OptionalDescription
GridTemplateFilenameRequiredThe filename of the Grid-Template. The Grid-Template is used for creating the Grid-View of a view.
IndexTemplateFilenameRequiredThe filename of the Index-Template. The Index-Template is used for creating the index.html file.
UpdateTemplateFilenameRequiredThe filename of the Update-Template. The Update-Template is used for creating the Update-View of a view.
InsertTemplateFilenameRequiredThe filename of the Insert-template. The Insert-Template is used for creating the Insert-View of a view.
NeededDirsoptionalContains the names of directories which should be copied into the Output-directory without processing.
NeededFilesoptionalContains the names of files which should be copied into the Output-directory without processing.