[HOME] [NSRG] [インフラ] [fml4] [fml8] [北海道] [おすすめの本] Powered by NetBSD and [nuinui.net] .

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()

[HOME] [NSRG] [インフラ] [fml4] [fml8] [北海道] [おすすめの本] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2017 Ken'ichi Fukamachi mail:< fukachan at fml.org >