# HG changeset patch # User paulb # Date 1111686050 0 # Node ID a438f7ca4bde252aa8ae87fc7b44b6c44b29d5cd # Parent eb559237458d07475b6ab49c70b32b8c9e491689 [project @ 2005-03-24 17:40:50 by paulb] Added notes about application deployment. diff -r eb559237458d -r a438f7ca4bde docs/DEPLOY.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/DEPLOY.txt Thu Mar 24 17:40:50 2005 +0000 @@ -0,0 +1,29 @@ +When deploying an application, it is possible to use a one-shot deploy +function for certain frameworks. The deploy function is called as follows: + +deploy(resource) +deploy(resource, authenticator) # where authenticators are used + +For some frameworks, an address may be specified: + +deploy(resource, address=(host_string, port_integer)) +deploy(resource, authenticator, address=(host_string, port_integer)) + +Framework Address Information +--------- ------------------- + +BaseHTTPRequestHandler Supported +CGI N/A +Twisted Supported (host_string is ignored) +WSGI N/A + +The other frameworks do not support the deploy function due to the way +applications are typically integrated into the various server mechanisms: + +Framework Deployment Details +--------- ------------------ + +JavaServlet Applications are packaged specially +ModPython Applications must expose certain functions +Webware Applications must expose certain classes +Zope Applications must expose certain functions/classes