Zope2 and devmode ZCML feature
Hello, In Zope 3 / BlueBream / Grok there is a ZCML feature devmode, that can let your register things only for development or production. As far as I know it is not available in Zope 2 (where only Globals.DevelopmentMode, or App.config.getConfiguration()... is available). I don't think it is very difficult to add and I know that would make my code much more readable. Regards, Sylvain, -- Sylvain Viollon -- Infrae t +31 10 243 7051 -- http://infrae.com Hoevestraat 10 3033GC Rotterdam -- The Netherlands
Am 26.10.2010, 12:12 Uhr, schrieb Sylvain Viollon <sylvain@infrae.com>:
As far as I know it is not available in Zope 2 (where only Globals.DevelopmentMode, or App.config.getConfiguration()... is available). I don't think it is very difficult to add and I know that would make my code much more readable.
As we are supposed to be able to use development mode anyway this makes sense so +1 from me. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226
participants (2)
-
Charlie Clark -
Sylvain Viollon