Internal Of CGI Process

fml 8 tutorial
Prev |  | Next

# Chapter 38. Internal Of CGI Process

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

Prev | Home | Next
How Differ Coding Style Among fml4 And fml8 | Up | Screen Of CGI And The Method

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>.