[pylons-discuss] Stupid noob question on Pyramid running under IIS.

2014-10-13 Thread joe
This is embarassing but I've been unable to figure out what's going on. I'm trying to write a WSGI application that will be running under IIS. As I understand it, WSGI is a pretty simple API. I have a sample application running; def application(environ, start_response): WSGI

[pylons-discuss] Pyramid + ZODB persistent registry

2014-10-13 Thread Thierry Florac
Hi, I'm actually starting to study Pyramid. My main goal is to be able to upgrade several quite huge applications which are actually based on Zope 3 and heavily use the ZCA, without too much rewriting. One of our main use case is to define site managers (or local component registries), to be

Re: [pylons-discuss] Stupid noob question on Pyramid running under IIS.

2014-10-13 Thread Michael Merickel
The app in your second example has the same signature as application in your first example. They are both objects that conform to the WSGI protocol. So if your runner for IIS is looking for an application module-level variable to be defined in that module then hopefully you have your answer that

Re: [pylons-discuss] Pyramid + ZODB persistent registry

2014-10-13 Thread Wichert Akkerman
On 14 Oct 2014, at 04:25, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/13/2014 09:54 PM, Chris Rossi wrote: My naive first take is just write a utility method: def find_sitemanager(context): Find nearest site manager, walking back up