changeset 4322:d832ee2a53d2

Code review: update doc strings, elaborate on use of the module
author Florian Krupicka <florian.krupicka@googlemail.com>
date Mon, 18 Aug 2008 11:33:20 +0200
parents 4476d5ca521c
children 0f4ac92a2c62
files MoinMoin/web/flup_frontend.py
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/flup_frontend.py	Mon Aug 18 11:24:58 2008 +0200
+++ b/MoinMoin/web/flup_frontend.py	Mon Aug 18 11:33:20 2008 +0200
@@ -2,6 +2,22 @@
 """
     MoinMoin - Flup based WSGI adapters
 
+    This module provides adapters between popular gateway interfaces
+    like CGI, FastCGI, SCGI and AJP to the MoinMoin WSGI application.
+    They are based on the adapters in the flup package and upon the
+    MoinMoin.frontend.ServerFrontEnd to provide configuration via
+    command line switches.
+
+    Typically they are simply run from the CGI-scripts like this:
+
+    > from MoinMoin.web.flup_frontend import CGIFrontEnd
+    > CGIFrontEnd().run()
+
+    They automatically parse the options given on the commandline and
+    behave accordingly. Flup makes it possible to serve FCGI, SCGI and
+    AJP from a bound network or unix socket, in different flavours of
+    multiprocessing/multithreading.
+
     @copyright: 2008 MoinMoin:FlorianKrupicka
     @license: GNU GPL, see COPYING for details.
 """