Re: [Zope-dev] Granularity of Persistent Objects

2004-07-16 Thread Ian Beatty
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

[Zope-dev] Granularity of Persistent Objects

2004-07-15 Thread Ian Beatty
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

[Zope-dev] ZODB for Java?

2004-04-14 Thread Ian Beatty
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

[Zope-dev] Threads, Locks, Volatility, and Angst

2004-03-31 Thread Ian Beatty
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

Re: [Zope-dev] Product Access to Files

2004-03-11 Thread Ian Beatty
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- 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

Re: [Zope-dev] Product Access to Files

2004-03-10 Thread Ian Beatty
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

[Zope-dev] Product Access to Files

2004-03-09 Thread Ian Beatty
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

[Zope-dev] Product directory?

2004-03-09 Thread 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

[Zope-dev] Catching extra path

2004-03-09 Thread Ian Beatty
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- 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

Re: [Zope-dev] Re: Custom class: cut,copy,rename?

2004-03-04 Thread Ian Beatty
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

[Zope-dev] Schizophrenic ObjectManager?

2004-03-04 Thread Ian Beatty
, 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

[Zope-dev] Re: Custom class: cut,copy,rename?

2004-03-02 Thread 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

[Zope-dev] Custom class: cut,copy,rename?

2004-03-01 Thread Ian Beatty
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- 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

[Zope-dev] Re: Custom class: cut,copy,rename?

2004-03-01 Thread Ian Beatty
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

[Zope-dev] Making a custom class addable to another class in product, but not to Zope

2004-02-24 Thread Ian Beatty
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