Re: [Zope3-Users] Design question (object or interface for category implementation?)

2007-03-07 Thread Garanin Michael
Christophe Combelles wrote: . I want to define objects that represent Companies. A company can be either a client, or a provider, or both, or in the future it could be of another type. When the user creates a company, it must choose "client", "provider", or both. The choice would assign a

Re: [Zope3-Users] Design question (object or interface for category implementation?)

2007-03-07 Thread Christophe Combelles
Bernd Dorn a écrit : >> But with 4), I guess I won't be able to assign two categories onto an >> object, >> An object can have only one ContentType > > this is not true an object can implement many interfaces so why shouldnt > it be possible to assign many subclasses of IInterface (or did i m iss