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):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.55&r2=1.56
http://cvs.eby-sarna.com/PEAK/setup.py.diff?r1=1.65&r2=1.66
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.52&r2=1.53
http://cvs.eby-sarna.com/PEAK/src/peak/running/commands.py.diff?r1=1.27&r2=1.28
http://cvs.eby-sarna.com/PEAK/src/peak/running/interfaces.py.diff?r1=1.14&r2=1.15
http://cvs.eby-sarna.com/PEAK/src/peak/web/__init__.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/web/interfaces.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/web/publish.py?rev=1.1&content-type=text/vnd.viewcvs-markup

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