MiniM Getting Started Guide
Routine Editor, Global Editor and Control Center
MiniM Database Server has internal GUI Utilities to control the server and develop routines and applcations. This is a set of tools:
MiniM Routine Editor has been made as MDI editor for Windows and with tabsheets for Linux. Real screens can be different in depending of operationg system settings and of MiniM version been used.
On Windows MiniM Routine Editor can be run from the tray icon of MiniM Controller:
Or from main application menu:
On Linux MiniM Routine Editor can be run from the MiniM Launcher:
Note that MiniM distributions have two different MiniM GUI Tools installations: builtin with the server and separate MiniM Client Tools. Second of ones can be installed independently of the MiniM Database Server on any other computer and can be connected with the server over TCP/IP. Both variants are the same by functionality.
After running MiniM Routine Editor offer to choose what the instance of MiniM Database Server must be connected to. This dialog window contains previously defined connections or connections was defined by default on installation.
Screen of connection in Windows:
Screen of connection in Linux:
One connection is description of TCP/IP server name of MiniM instance running on and TCP/IP port to connect to as such as database name to connect to in this MiniM instance. So, if you need to describe your own connection, click Add button and enter info:
Here connection name is a good man-readable name. Address is a TCP/IP address of the server. Host is a host name of the server. You can fill one of this, address or host name. Port is a TCP/IP number of MiniM Server Connect port. It is not telnet port. By default, if this option was not overriden, MiniM Database Server uses port number 5000. And database name must be a name of one of databases defined on this MiniM instance. After connecting to this database Routine Editor view and edit routines on this server and in this database.
Linux version have some differences. In Linux connection does not distinquish TCP/IP address and host name and one of this host identification can be used as a server. And, second difference is that the Linux version uses Unicode controls to show and enter infomation, so requires to specify how characters must be translated to Unicode from 8-bit representation and vice versa for this MiniM instance:
After connection MiniM Routine Editor offer to select what to do:
Anyway, this action can be cancelled. All other actions are very close to file editing except this editor edits text of routines on the server.
MiniM Global Editor and MiniM Control Center are tools with the same connections as such as MiniM Routine Editor.
MiniM Global Editor offer to view and edit globals on this MiniM instance and show global's tree as a tree. MiniM Global Editor for Windows looks like this:
And MiniM Global Editor for Linux looks like this:
On changing database name editor reloads global's names. At the bottom of editor are controls to edit the value of selected global name or to remove this record. Value of the global can be shown as ordinal string or a list structure with embedded lists. Additionally, MiniM Global Editor can use any expressions including operators, system variables and system functions.
MiniM Control Center is a main administrative tools where was united all information about this MiniM instance.
MiniM Control Center for Windows looks like this:
MiniM Control Center for Linux looks like this:
MiniM Control Center allow to change current server settings by selecting menu Configurations | Server Configuration:
and allow to configure current server databases by selecting menu Configurations | Database Configuration:
All configuration changes Control Center do only in initialization files and all changes will be accepted on next MiniM Database Server start.
Also, after selecting routines or globals or bytecodes in the left tree MiniM Control Center allow to export and import routines, globals and bytecodes to selected database.
This export and import functionality is the same as inside of MiniM Routine Editor.
Additionally, after double click on the routine name or on the global name MiniM Control Center runs MiniM Routine Editor or MiniM Global Editor to view or edit selected item.
By default, MiniM Database Server does not use logins and passwords. This functionality can be intended by developers or administrators as they decide. If login was required (see minim.ini, section [Login]), all MiniM GUI Tools after checking this option will ask user about login and password and will use specified login procedure.
MiniM Collation Editor edits character collation definition files (*.nat).
In Windows MiniM Collation Editor looks like this:
In Linux MiniM Collation Editor looks like this:
Collation Editor stores information about how to convert character to upper case, to lower case and sorting sequence to collate strings in indices.
After preparing this edited nat file must be copied onto the server and specified in the server settings. After restart server will use this user-defined character collation.