Re: [Zope-dev] created z3c.saconfig

2008-06-20 Thread Hermann Himmelbauer
Am Donnerstag, 19. Juni 2008 20:51 schrieb Martijn Faassen: Hi there, I'd like to announce my contribution for the expanding list of options for SQLAlchemy integration for Zope 3. I've just implemented a package called z3c.saconfig which implements a utility-based way to set up SQLAlchemy's

Re: [Zope-dev] Re: created z3c.saconfig

2008-06-20 Thread Hermann Himmelbauer
Am Freitag, 20. Juni 2008 00:14 schrieb Martijn Faassen: Hey, Martijn Faassen wrote: I intend to add support for a local utility soon, inspired by some code sent to me by Hermann Himmelbauer. This is now in there. It only looks faintly like Hermann's code, but it was still very useful.

Re: [Zope-dev] created z3c.saconfig

2008-06-20 Thread Brian Sutherland
On Thu, Jun 19, 2008 at 08:51:17PM +0200, Martijn Faassen wrote: Hi there, I'd like to announce my contribution for the expanding list of options for SQLAlchemy integration for Zope 3. Looks good, I'd like to vote for moving some parts of it to zope.sqlalchemy. Namely

[Zope-dev] Zope Tests: 5 OK

2008-06-20 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Jun 19 11:00:00 2008 UTC to Fri Jun 20 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Thu Jun 19 21:01:57 EDT 2008 URL:

[Zope-dev] Re: created z3c.saconfig

2008-06-20 Thread Martijn Faassen
Hermann Himmelbauer wrote: Am Freitag, 20. Juni 2008 00:14 schrieb Martijn Faassen: [snip] This now works against the trunk of zope.sqlalchemy as well, as Laurence merged my branch. I do think my code currently requires SQLAlchemy 0.5beta1 or higher. Does it really? Because in the

[Zope-dev] Re: created z3c.saconfig

2008-06-20 Thread Martijn Faassen
Hey, Hermann Himmelbauer wrote: [snip] 1) Why do you need to specify what interface the factory provides, such as here: component.provideUtility(engine_factory, provides=IEngineFactory) component.provideUtility(utility, provides=IScopedSession) Why can't the utilities provide the interface

[Zope-dev] Re: created z3c.saconfig

2008-06-20 Thread Martijn Faassen
Hi there, Brian Sutherland wrote: [snip] Also for this problem: # XXX what happens if EngineFactory were to be evicted from the ZODB # cache? def getCached(self): return getattr(self, '_v_engine', None) I think you could use the same mechanism found in zope.app.cache.ram.

[Zope-dev] Re: View component registration

2008-06-20 Thread Martijn Faassen
Hey, Jim Fulton wrote: [snip] I suggest: - decide on and advertise the new interface - continue to do look ups the way we do now - update relevant zcml directives (view, page, resource. etc.) to use the new interface +1 Update the relevant grokkers to use the new interface too. :)

[Zope-dev] Re: View component registration

2008-06-20 Thread Martijn Faassen
Hey, One question is what to do for persistent registrations in local sites. I don't imagine they're used a lot, but it'd mean a content upgrade to re-register them, right? Regards, Martijn ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Re: View component registration

2008-06-20 Thread Philipp von Weitershausen
Martijn Faassen wrote: One question is what to do for persistent registrations in local sites. I don't imagine they're used a lot, but it'd mean a content upgrade to re-register them, right? The only piece of software that, to my knowledge, can actually *make* local view registrations is

[Zope-dev] buildout on Windows

2008-06-20 Thread Chris Withers
Hey All, I'm trying to run a plone-ish buildout on Windows for a customer, currently getting this: creating zope.proxy copying zope/proxy\proxy.h - zope.proxy error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries.

[Zope-dev] Re: buildout on Windows

2008-06-20 Thread Philipp von Weitershausen
Chris Withers wrote: Hey All, I'm trying to run a plone-ish buildout on Windows for a customer, currently getting this: creating zope.proxy copying zope/proxy\proxy.h - zope.proxy error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate

Re: [Zope-dev] Re: buildout on Windows

2008-06-20 Thread Sidnei da Silva
Depending on how 'plone-ish' your buildout is, you can start from the newly-created, experimental buildout-based Plone Installer for Windows: https://launchpad.net/plone/3.1/3.1.2/ -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713

[Zope-dev] Re: buildout on Windows

2008-06-20 Thread Martin Aspeli
Chris Withers wrote: Hey All, I'm trying to run a plone-ish buildout on Windows for a customer, currently getting this: creating zope.proxy copying zope/proxy\proxy.h - zope.proxy error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate