Or shall I wrap each one in a custom class that subclasses Persistent?
That is usually an even better idea. And for big dictionaries, you may
want to use the BTree objects for storage.
So in my containing class, I just have
class MyContainer( Persistent ):
subObject = None
records? I've tried looking
at how ObjectManager does things, and found it less than enlightening.
Thanks,
..Ian Beatty
University of Massachusetts Amherst
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
Greetings.
Does anyone know of a good (stable, reliable, fast enough for
production use in a web app) ZODB-equivalent for persisting Java
objects?
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty [EMAIL PROTECTED
is doing all kinds of pickling-unpickling activity behind the scenes,
and anything I have that's volatile can disappear without warning.
Are there any thread-wise Zopistas out there who can steer me right?
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty [EMAIL PROTECTED]
Physics Education Research Group voice: 413.545.9483
Department of Physics fax: 413.545.4884
Univ. of Massachusetts AIM: (available
On 2004-03-10 10:14 AM, Chris Withers is reputed to have said:
Ian Beatty wrote:
I've been messing around with DTMLFile and ClassicHTMLFile and the like,
haven't been able to figure out how to get it to work for arbitrary paths.
They also require all my file names end in '.dtml', which
and the like,
haven't been able to figure out how to get it to work for arbitrary paths.
They also require all my file names end in '.dtml', which is quite a pain.
Any suggestions?
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty
ferreting it out from the source to DTMLFile and etc., but I
can't trace it.
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty [EMAIL PROTECTED]
Physics Education Research Group voice: 413.545.9483
Department of Physics
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty [EMAIL PROTECTED]
Physics Education Research Group voice: 413.545.9483
Department of Physics fax: 413.545.4884
Univ. of Massachusetts AIM: (available upon request)
Amherst, MA
On 2004-03-02 2:15 PM, Ian Beatty is reputed to have said:
Here's what I have now: a hierarchy of five custom
classes, pretty close to identical for now. All five subclass ObjectManager,
CatalogAware, PropertyManager, and SimpleItem in that order. The top one
(A) may be added to any old Zope
, but to create the
illusion of two separate collections by having two copies of the contents
('manage_main') page, each modified to display only one kind of child.
Any thoughts, oh masters of Zope Zen?
Cheers,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty
for the thoughts.
Is there a better or more standard way to create a folderish object that can
only contain a specific set of other object types, other than using
all_meta_types?
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty [EMAIL
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty [EMAIL PROTECTED]
Physics Education Research Group voice: 413.545.9483
Department of Physics fax: 413.545.4884
Univ. of Massachusetts AIM: (available upon request)
Amherst, MA 01003-4525 USA http
On 2004-03-01 3:44 PM, Chris Withers is reputed to have said:
Ian Beatty wrote:
OFS.ObjectManager.ObjectManager
Products.ZCatalog.CatalogPathAwareness.CatalogAware
OFS.PropertyManager.PropertyManager
OFS.SimpleItem.SimpleItem
I'm pretty sure all you should actually need
Greetings.
I'm relatively new to Python-based development of Zope products. I've got
two classes in my product; let's call them Container and Thing. I want to
have Container addable to any old folder in the ZMI; that's no problem, I
just register it in my product's __init__.py file. I want
15 matches
Mail list logo