E&S CVS Commit: PEAK - 'peak.web' is born; just interface sketches and a draft of 'BaseInteraction'

pje at eby-sarna.com pje at eby-sarna.com
Wed Jun 25 20:39:00 EDT 2003

Module Name:	PEAK
Committed By:	pje
Date:		Thu Jun 26 00:38:05 UTC 2003

Modified Files:
	PEAK: CHANGES.txt setup.py
	PEAK/src/peak: peak.ini
	PEAK/src/peak/running: commands.py interfaces.py
Added Files:
	PEAK/src/peak/web: __init__.py interfaces.py publish.py
Removed Files:
	PEAK/src/peak/running: zpublish.py

Log Message:
'peak.web' is born; just interface sketches and a draft of 'BaseInteraction'
for now.  CGI support has been moved from 'peak.running.zpublish' into
'peak.running.commands' (for "raw" CGI/FastCGI) and 'peak.web' (for the
PEAK high-level publishing framework).  You can use 'peak CGI someName' to
adapt 'someName' to a 'running.IRerunnableCGI' and run it as a CGI/FastCGI.
This will form the basis for creating the web version of an app later;
you'll do something like::

   class MyAppAsCGI(web.CGIPublisher):
       app = binding.New(MyAppClass)

And then use 'peak CGI import:somepkg.MyAppAsCGI' to run it.  Or, if your
app wants to exec a config file, you might define your CGIPublisher
subclass as an adapter from MyAppClass to IRerunnableCGI, rather than
invoking it directly.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 PEAK/CHANGES.txt
cvs rdiff -r1.65 -r1.66 PEAK/setup.py
cvs rdiff -r1.52 -r1.53 PEAK/src/peak/peak.ini
cvs rdiff -r1.27 -r1.28 PEAK/src/peak/running/commands.py
cvs rdiff -r1.14 -r1.15 PEAK/src/peak/running/interfaces.py
cvs rdiff -r1.8 -r0 PEAK/src/peak/running/zpublish.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/web/__init__.py \
    PEAK/src/peak/web/interfaces.py PEAK/src/peak/web/publish.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list