Chapter 22. command (command mail, CUI, GUI)

Table of Contents
modules for commands
data flow of command request processing
command extensoin: command mail
CUI command extension: makefml/fml
GUI command extension: CGI

modules for commands

In fml8, all command modules are shared among command mail, CUI(makefml, fml) and GUI. Commands are caregorized into user and administrative ones by the priviledge.

FML::Command:: consists of the following classes:

FML::Command		entrance into FML::Command
FML::Command::User	command for usual ML users.
FML::Command::Admin	command for administrators.
For example, a user command in a command mail kicks off FML::Command firstly, after some steps, calls FML::Command::User::$command where $command is the specified command name.

usre command in command mail

FML::Process::Command call FML::Command::User::$command for $command via FML::Command.

Finally, some module calls FML::Command::Admin::$command for real work even if it is a user command. For example, FML::Command::Admin::subscribe works for subscription. In this case, FML::Command::User::subscribe module is a wrapper or an entrance for confirmation before the real subscription work.

admin command (administrative command in command mail)

call FML::Command::Admin::$command for $command via FML::Command via FML::Process::Command.

CUI (makefml/fml)

FML::Process::Configure calls FML::Command::Admin::$command via FML::Command.

GUI (CGI)

FML::Process::CGI calls FML::Command::Admin::$command via FML::Command.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml-devel/.
fml 4.0 project homepage is www.fml.org/fml/menu.ja.html.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.