[Zope3-dev] Deploying WSGI Apps with Zope 3.2+

Sidnei da Silva sidnei at enfoldsystems.com
Wed Jan 25 18:51:57 EST 2006


On Wed, Jan 25, 2006 at 05:28:14PM -0500, Jim Fulton wrote:
| >There are a bunch of issues to be resolved, like the fact that it's
| >not possible to access the initial ZConfig options object because it's
| >thrown away, so, in order of priority:
| >
| >1. It's not possible to find where the <INSTANCE_HOME> is.
| 
| Why is this necessary?

So the config file for paste.deploy can be in <INSTANCE_HOME>/etc/paste.ini

| >2. It's not possible to access the configured root database, I've
| >   worked around this by using a event subscriber and some sort of
| >   monkeypatching.
| 
| In a normal Zope install, the defined databases are registered as utilities.

Humm.. couldn't find that. Will try looking harder.

| 
| >3. Zope's servers assume that all 'IServerType' utilities accept a
| >   'db' argument. It should be optional.
| 
| This whole mechanism needs to be rethought in light of WSGI and Paste 
| Deploy.

I believe you :)

| >Other than that, I will be experimenting with hooking additional
| >filters to be applied, for example:
| >http://www.decafbad.com/2005/07/xmlwiki/lib/xmlwiki/xslfilter.py
| 
| Cool.

Oh, btw. I've got that to work. It's neat.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the Zope3-dev mailing list