[z3-five] local utilities
Martijn Faassen
faassen at infrae.com
Fri Sep 3 17:20:41 MEST 2004
Sidnei da Silva wrote:
> On Fri, Sep 03, 2004 at 12:00:12PM +0200, Martijn Faassen wrote:
> | Martijn Faassen wrote:
> |
> | >This is a note to discuss what I'm up to, as I think I need help. :) I'm
> | >trying to get local utilities (aka tools) working.
> |
> | Thinking about it some more, I see some fundamental problems in getting
> | these to work in Zope 2.7. The primary problem is that many of the
> | objects that need to be stored in the Zope 2.7 ZODB are new-style
> | objects -- that sounds like it would lead to some persistence problems,
> | at least before Zope 2.8. Then again, Sidnei said he had
> | directlyProvides working with Five, and isn't an interface a new-style
> | object? Perhaps new-style objects can be stored, they just can't be
> | mixed with Persistent?
>
> Sounds about correct. I think the problem is actually mixing new-style
> objects with ExtensionClass. From what I understand Zope3 persistent
> is a different persistent module though, and that should work just fine?
Doesn't Zope 3 require a ZODB 3.3? Zope 2.7 still uses ZODB version 3.2.2.
The radical change I'm thinking about is not looking into the internal
details of local services at all (and registrations and whatnot), but
instead writing our own simplistic implementations of the various
getUtility* functions in zope.component that also look in at least one
local site (like a Silva or Plone root) for utilities. I'm not sure I
understand the component architecture semantics well enough to do that
yet, however.
Regards,
Martijn
More information about the z3-five
mailing list