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-26 Thread Dieter Maurer
Joachim Werner writes: > I know about the "duality" of Python classes. I just don't see what I could > really do with a ZClass in the "instance space" (reading this twice, see > below for some possible examples). A totally different aspect is whether > Zope should have something like an in-bui

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

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 P

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,

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 > > 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 s

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 te

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. ___ Zope-

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

2001-06-21 Thread Jay, Dylan
> -Original Message- > From: Joachim Werner [mailto:[EMAIL PROTECTED]] > Sent: Friday, 22 June 2001 11:01 AM > To: Jay, Dylan; [EMAIL PROTECTED] > Subject: Re: [Zope-dev] ZClass not in a Product > > > > Is there any good reason why a Product inside the

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 instan