General Rules and Concept of Object Selection for Development

Before starting development, select how application will be presented to the user: desktop application or web application. Depending on it, select development tools.

The Foresight Analytics Platform development environment is used to create macros that will be used by objects and forms used for visual interface creation for desktop applications. There is also a set of Interop assemblies that enable the user to work with repositories and develop in third-party applications, for example, in Microsoft Visual Studio. For details see the Using Foresight Analytics Platform Resources in Third-Party Applications section. The development is executed in the Fore language.

Web applications can be developed in any development environments that allow for creating HTML pages and support corresponding programming languages: Java, JavaScript, PHP, and so on. Foresight Analytics Platform provides DHTML component libraries and the PP.SOM web service, and also basic web application that can be additionally developed.

Rules of Working with Development Environment Objects

When developing an application in the Foresight Analytics Platform development environment, it is recommended to follow the rules:

  1. All units and forms should be combined into the specific assemblies. Assemblies are connected to each other by a link.

  2. The assembly contents should correspond to its purpose. If required, the folder hierarchy can be organized inside the assembly. The assemblies contents should be divided by the following principles:

  3. The object structure is described in interfaces, classes inherit interfaces and implement the application work logic of each object.

  4. The event handlers of various components call procedures/functions that will process the corresponding action.

  5. If work with application supposes the use of BI server deployed in Linux OS, object macros must be developed in the Fore language. It is not allowed to use resources that are used to work with visual components of Windows forms (resources of the Forms, ExtCtrls assemblies and others). It is also required to take into account other restrictions that take place on development for Linux OS.

  6. Development environment object should have access permissions set up. Object access depends on the purpose of its use by security subjects. Grant object access permissions for a limited number of subjects and deny access for the rest of the subjects for enhanced security.

See also:

Application Development and Application Functionality Enhancement