Differences between revisions 5 and 6
Revision 5 as of 2008-02-25 01:10:01
Size: 1560
Editor: gert
Comment: adding mod_wsgi
Revision 6 as of 2008-11-15 13:59:48
Size: 1565
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
  * [http://www.amk.ca/python/code/medusa.html Medusa, a simple framework for standalone server applications]
  * [http://www.zetadev.com/software/httpy/ httpy - a sane and robust Python HTTP server and library]
  * [http://www.cherrypy.org CherryPy - a pythonic, object-oriented HTTP framework]
  * [[http://www.amk.ca/python/code/medusa.html|Medusa, a simple framework for standalone server applications]]
  * [[http://www.zetadev.com/software/httpy/|httpy - a sane and robust Python HTTP server and library]]
  * [[http://www.cherrypy.org|CherryPy - a pythonic, object-oriented HTTP framework]]
Line 18: Line 18:
  * [http://www.modwsgi.org mod_wsgi] embeds Python in the Apache HTTP server   * [[http://www.modwsgi.org|mod_wsgi]] embeds Python in the Apache HTTP server
Line 20: Line 20:
  * ["PyWX"] embeds Python in AOLServer   * [[PyWX]] embeds Python in AOLServer
Line 24: Line 24:
 * [wiki:BaseHttpServer BaseHTTPServer] (along with successors such as DocXmlRpcServer) can be considered as the original Python Web framework, but it really just provides the ability to process HTTP requests and to generate responses using a relatively primitive API. Some WebFrameworks use it as the basis for serving content, however.  * [[BaseHttpServer|BaseHTTPServer]] (along with successors such as DocXmlRpcServer) can be considered as the original Python Web framework, but it really just provides the ability to process HTTP requests and to generate responses using a relatively primitive API. Some WebFrameworks use it as the basis for serving content, however.

Web Servers and Python

Python-based Web servers have been available in the standard library for many years (see the BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer modules). To address various issues of scalability, robustness and convenience with such existing servers, other server frameworks and solutions have been developed since that time.

Web Servers written in Python

Web Servers embedding Python

In addition to the above, some non-Python-based Web servers support Python-based applications by embedding the Python virtual machine for improved performance:

  • mod_wsgi embeds Python in the Apache HTTP server

  • ModPython embeds Python in the Apache HTTP server

  • PyWX embeds Python in AOLServer

Standard Library Technologies

  • BaseHTTPServer (along with successors such as DocXmlRpcServer) can be considered as the original Python Web framework, but it really just provides the ability to process HTTP requests and to generate responses using a relatively primitive API. Some WebFrameworks use it as the basis for serving content, however.

WebServers (last edited 2018-05-19 23:33:35 by StevePiercy)

Unable to edit the page? See the FrontPage for instructions.