Scout/Concepts/Type of application
|Download • Git|
|Forums • Blog • Twitter • G+|
During the creation of a new Scout Project, it is possible to chose the type of application that should be created. This page gives an overview of the different types.
Single form application
As shown in the example screenshot below, form based applications are well suited for smaller and simpler applications. To cover many entities and allow for sophisticated navigation (see example below), table and tree based applications are usually a better match.
In this type of application, the main window displays a form. In this example (Swing, Nimbus look and feel, Windows), the menu bar is displayed in this main window on top of the main form.
The SDK creates:
- In the Scout client plugin: A form, called DesktopForm.
- In the Scout server plugin: A process service, called DesktopProcessService
- In the Scout shared plugin: The process interface IDesktopProcessService and the a form data (a kind of DTO), called DesktopFormData
The desktop form is opened on client startup. Before it is displayed in the client application frame, the wiring provided with the single form application fetches data from the Scout server using the desktop process service.
See the 'Hello World' tutorial to read more about the creation of a single form based application.
Outline based application
Outline based application are well suited for larger business applications that cover many elements, user roles, complex navigation, etc.
In example screenshot above (Swing, Nimbus look and feel, Windows), the main window provides:
- A menu bar
- A way to switch between the outlines attached to the desktop
- A representation of the active outline:
- A tree on the left
- A page on the right
Outlines may be used to group application functionality by business needs (Customer, Order management, Reporting), user roles (Sales, Marketing, Backoffice), or any other criteria.
and their pages in the main window.
The empty application templates allows for maximum flexibility. However, the developer needs to know exactely what she/he is doing.
This type of application correspond to a minimal client server application.
- Empty desktop client application frame
- No forms in the Scout client
- No related form services in the Scout server