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