Chapter 2. Admin

Table of Contents

1. Application Information
2. Editing the Biferno.config.bfr File
3. Cache Reload and Flush

1. Application Information

Once authenticated, the administrator has access to the Admin section. In the upper right corner we find the menu that allows navigation through the different sections of bifernoadmin. This menu is visible in all sections.

In the upper left corner and in each section, we find the Biferno version, a link to the Tabasoft.it site and the name of the application we are managing.

The Admin section provides some information on the operating environment:

  • System: The system on which Biferno is running, e.g. Unix: 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; Power Macintosh powerpc

  • Version: The version of Biferno running on this computer, e.g. 1.0. Clicking on "check updates" allows to check for newer versions downloadable from Tabasoft web site.

  • WebServer: The Web server we are using, e.g. Apache/1.3.27 (Darwin)

  • BifernoHome: The path to the BifernoHome folder, e.g. file://Users/BifernoHome/

  • Base Path: The application base path, i.e. the folder that contains the application, e.g file://Library/WebServer/Documents/MyApplication/

  • Web Path: The base URL to reach the application, e.g. http://www.mysite.com/MyApplication/

  • Up Since: The date of the most recent startup of Biferno, e.g. 14-05-2003 11:23:31

  • Children: The subapplication of the application we are managing (see "Biferno: Language Guide" for the subapplication concept), e.g. MySubApp1, MySubApp2

2. Editing the Biferno.config.bfr File

In the Admin page we find a textarea to manage the Biferno.config.bfr file for the application. This file is used to manage application preferences and its code is loaded the only first time the application is accessed. In the case of our simple application the configuration file looks like this:

Figure 2.1. Editing the Biferno.config.bfr file

Editing the Biferno.config.bfr file

After editing the file remember to click the “Save config and Reload” button to make your modifications effective. This operation saves the new content of the configuration file and executes an application reload to reinitialize the application with the new preferences.

3. Cache Reload and Flush

Clicking the “Reload” button executes a reload of the application. This operation is necessary when one wants to execute again the application initialization process, i.e. the loading and executing of the Biferno.config.bfr file. Notice that an application reload initializes all elements of an application, including session and user variables, and flushing the application cache.

Every time the Biferno.config.bfr file is modified in the textarea, it is necessary to save the file clicking on the “Save config and Reload” button (it is not enough to click on the “Reload” button, because our modifications have not been saved to disk).

The “Flush Cache” button allows to flush only the application cache. Notice that this operation has no effect if the cache has been disabled by setting the CACHE application variable to false.

The Biferno reload and flush operations are discussed in "Biferno: Language Guide".

Note

The flush and reload operation of an application implies an automatic flush and reload of all subapplications listed in the Children field in the application information page (see Section 1, “Application Information”).