RE: [Zope-dev] ZClass not in a Product

2001-07-02 Thread Adrian Hungate
Title: RE: [Zope-dev] ZClass not in a Product I have to say that I agree with you Dieter. It would be very useful to have the ZClasses that relate to a project in a single branch with the rest of the project code for a number of reasons * Security (As you said). Users could have full write

Re: [Zope-dev] ZClass not in a Product

2001-06-25 Thread Joachim Werner
Maybe you search python.org for Guido's metaclasses article. It tells that a Python class can be both a class and an instance and that this view has interesting applications. You focus on the class aspects of a ZClass (a pattern for creating instances providing them with basic common

Re: [Zope-dev] ZClass not in a Product

2001-06-23 Thread Dieter Maurer
Joachim Werner writes: I do not agree with you: a ZClass is both an instance (you can manage, modify, delete) and a class (you can use as blueprint for object creation). O.k., I CAN manage/modify/delete a ZClass, but it still is (conceptually) a class, and only a class.

Re: [Zope-dev] ZClass not in a Product

2001-06-22 Thread Chris McDonough
Now is there a technical reason why I can't have a ZClass inside any folder? No. There is not code to allow this to happen in Zope, however. I think at I know there is no code to do this. I'm asking how much code would be needed. Is it a major re-architecture? Is it something I

Re: [Zope-dev] ZClass not in a Product

2001-06-22 Thread Dieter Maurer
Joachim Werner writes: Is there any good reason why a Product inside the ControlPanel is the only place a ZClass can exist? Why can't I have one in any folder? I think it is perfectly logical that ZClasses are located in the Products area. A folder is for instances of classes, and a

Re: [Zope-dev] ZClass not in a Product

2001-06-22 Thread Joachim Werner
I do not agree with you: a ZClass is both an instance (you can manage, modify, delete) and a class (you can use as blueprint for object creation). O.k., I CAN manage/modify/delete a ZClass, but it still is (conceptually) a class, and only a class. You can manage/modify/delete Zope

Re: [Zope-dev] ZClass not in a Product

2001-06-21 Thread Joachim Werner
Is there any good reason why a Product inside the ControlPanel is the only place a ZClass can exist? Why can't I have one in any folder? I think it is perfectly logical that ZClasses are located in the Products area. A folder is for instances of classes, and a ZClass is a class, not an

Re: [Zope-dev] ZClass not in a Product

2001-06-21 Thread Chris McDonough
Now is there a technical reason why I can't have a ZClass inside any folder? No. There is not code to allow this to happen in Zope, however. I think at some point, Lalo came up with a local factory product that did something like this. ___

RE: [Zope-dev] ZClass not in a Product

2001-06-21 Thread Jay, Dylan
-Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Friday, 22 June 2001 2:42 PM To: Jay, Dylan; 'Joachim Werner'; [EMAIL PROTECTED] Subject: Re: [Zope-dev] ZClass not in a Product Now is there a technical reason why I can't have a ZClass inside any