At 11:00 PM 7/16/00 -0500, Jonathan Wight wrote:
>Couple of questions concerning it:
>
> Is mod_python used by webware at all yet? If not will it?
Someone contributed a mod_python adapter for webware. In case you don't
know, an adapter is our name for the little piece of software that connects
the web server and the app server. We also have a "one shot" adapter than
runs your application in "CGI mode".
You can find the mod_python adapter in the archives for this list. Or you
can wait--it will get integrated into the source within the next couple of
weeks. Probably sooner than your app will be finished if you haven't
started it yet (I'm guessing).
> In what way are psp pages integrated into apache?
PSP pages become WebKit servlets. WebKit servlets run in the WebKit app
server which can either be resident, in which case you get caching and high
performance, or it can be invoked with each request, in which performance
is like CGI.
The WebKit app server gets invoked by the adapter which is typically a CGI
or FastCGI script. My URLs currently look something like this:
http://localhost/server.cgi/Project
and then as I'm browsing pages:
http://localhost/server.cgi/Project/Place
I believe with the mod_python adapter and some apache configuration, you
can get rid of the "server.cgi/".
Note the lack of extensions in filenames. WebKit figures out if you have a
.py, .psp or whatever. You can even create your own handlers if you have
custom files that deserve special treatment.
Hope that helps,
-Chuck
|