Chapter 38. Internal Of CGI Process

Table of Contents
Method
Screen Of CGI And The Method
Screen And Trampolin Mechanism
MISC: Hard Coding Is Mandatory ?
CGI Implementation: Inheritance Among CGI Classes
CGI Implementation: config.cgi

Method

FML::CGI class should implement the following methods:

html_start()
run_cgi_main()
run_cgi_title()
run_cgi_navigator()
run_cgi_menu()
run_cgi_command_help()
run_cgi_options()
html_end()
where html_start() prints out the header of HTML such as DOCTYPE ... BODY, html_end() prints /BODY and /HTML. run_XXX methons prints the main content.

run() of $curproc method drives

html_start()
run_cgi_XXX()
html_end()
sequentially. That is, the flow of CGI process is as follows:
new()
prepare()
verify_request()
run()
   html_start()
   run_cgi_XXX()
   html_end()
finish()

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
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>.