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.
When developing an application in the Foresight Analytics Platform development environment, it is recommended to follow the rules:
All units and forms should be combined into the specific assemblies. Assemblies are connected to each other by a link.
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:
Units containing procedures and functions of general purpose.
Units containing application work algorithm implementation.
Forms that are used to implement the application visual interface.
Units containing the code that is to be executed on working with the web application.
The object structure is described in interfaces, classes inherit interfaces and implement the application work logic of each object.
The event handlers of various components call procedures/functions that will process the corresponding action.
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.
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