[Zope] non-persistent publishable objects

nwingfield at che-llp.com nwingfield at che-llp.com
Mon Jan 26 16:19:32 EST 2004






----- Message from Terry Hancock <hancock at anansispaceworks.com> on Fri, 23
Jan 2004 15:54:12 -0600 -----

> You will note that these object inherit from either Acquisition.Explicit
or
> Acquisition.Implicit --  you will probably need that to make them useful.
> You will also need to define a security manager for the object.  And
don't
> forget to call
>
> Globals.InitializeClass(...)

How is Globals.InitializeClass(...) different from registering a class
within __init__.py?  Is a publishable class not necessarily the same as a
product class, then?

You also used a meta_type attribute.  Do you know if this is necessary?

Furthermore, do you think it is possible to store local roles in my
relational tables to feed Zope's security machinery?  That would be too
cool!

> *In concept only -- they don't use Zope's "pluggable brain" facilities
which
> are intended for through-the-web use.  Personally, I can't help thinking
> "Peanut Butter" everytime I see it, but what the hey.

Do you know about Twisted?  From their website:

The components that Twisted Spread provides are as follows:
    * pb: pb is the Perspective Broker. It lets you talk to remote objects,
implementing semantics for object copying, caching, and referencing.
    * jelly: serialization for Python objects
    * banana: low level data marshaller


More information about the Zope mailing list