[Web-SIG] using WSGI for standard pluggable applications
ksenia.marasanova at gmail.com
Sat Sep 10 20:20:17 CEST 2005
2005/9/10, Ian Bicking <ianb at colorstudy.com>:
> Ksenia Marasanova wrote:
> > Sorry if this is a trivial question, but does it sounds reasonable to
> > use WSGI for "pluggable" standard applications, instead of usual
> > Python imports? For example, standard news module, like:
> > app = NewsApp(path='/site/news/')
> > The content of news app would be inserted into site template,
> > generated by main publisher. If there are any examples of such WSGI
> > use, I'll be glad to hear that...
> I think you are describing something along the lines of what Paste
> Deploy is doing (http://pythonpaste.org/deploy/paste-deploy.html).
Thanks for the detailed example, I finally understand now what Paste
does :). One question though, should I use environ for exchanging data
between applications (e. g. some template object, that partly rendered
by one application, and should be "finished" by News), or does Paste
have some facility for that?
More information about the Web-SIG