1 When deploying an application, it is possible to use a one-shot deploy
2 function for certain frameworks. The deploy function is called as follows:
3
4 deploy(resource)
5 deploy(resource, authenticator) # where authenticators are used
6
7 For some frameworks, an address may be specified:
8
9 deploy(resource, address=(host_string, port_integer))
10 deploy(resource, authenticator, address=(host_string, port_integer))
11
12 Framework Address Information
13 --------- -------------------
14
15 BaseHTTPRequestHandler Supported
16 CGI N/A
17 Twisted Supported (host_string is ignored)
18 WSGI N/A
19
20 The other frameworks do not support the deploy function due to the way
21 applications are typically integrated into the various server mechanisms:
22
23 Framework Deployment Details
24 --------- ------------------
25
26 JavaServlet Applications are packaged specially
27 ModPython Applications must expose certain functions
28 Webware Applications must expose certain classes
29 Zope Applications must expose certain functions/classes