Re: [Zope-dev] Implementing [XOR A] 1 object connections in ZPatterns

2000-12-05 Thread Steve Spicklemire
Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: ... Itai The 2nd way seems to go better with OO principles - all Itai handling of photos is delegated to the Photos Specialist and Itai the Product doesn't care if the photo exists or not, or Itai where it comes from.

[Zope-dev] Implementing [XOR A] 1 object connections in ZPatterns

2000-12-04 Thread Itai Tavor
Hi, Continuing the saga of my struggles with ZPatterns, I'm trying to work out the best way to implement an object that can be related to one of several other objects. For example, I have a Product class. A Product can come in different colors, so I also have a Color class. Products can have