The main part of CGI program is implemented as an FML::CGI::XXX class. These modules have the following relation.
FML::Process::Kernel | A FML::Process::CGI::Kernel uses-a CGI | A FML::Process::CGI | A FML::CGI::XXX
How to write CGI programs is same as one of CUI. GUI modules locate under FML::CGI to clarify the difference between CUI and GUI.
In the case of CGI, prepare the following methods for screen control in FML::CGI::MODULE.
html_start() html_end()and
run_cgi_main() run_cgi_title() run_cgi_navigator() run_cgi_menu() run_cgi_command_help() run_cgi_options()These methods are called from verify_request() and run() in FML::Process::CGI.
CGI process is driven by FML::Process::CGI. run() method calls
$curproc->html_start($args);call a set of run_cgi_xxx() methods
$curproc->html_end($args);to control screen.
At 2001/11, FML::Process::CGI::Kernel consists of the following methods: [1]
new() prepare() verify_request() run() finish()You do not need edit these files. FML::CGI:: is called at run() method.
[1] | Almost cases, FML::Process::Kernel method is overloaded by other modules. So, not called directly. |
Copyright (C) 1993-2025 Ken'ichi Fukamachi mail:< fukachan at fml.org >