[Zope-dev] ZPatterns: BTree folder w/ customizer support

Steve Alexander steve@cat-box.net
Thu, 13 Jul 2000 14:30:28 +0100


Steve Alexander wrote:
> 
> I want to combine Shane Hathaway's BTreeFolder product with ZPatterns to
> create a "BTree folder w/ Customizer support".

<snip!>
 
> Instead, why not make PlugInContainer a mix-in class, and have concrete
> classes for PlugInFolder and PlugInBTreeFolder ?
> 
> Then, it is easy to have a CustomizerFolder and a CustomizerBTreeFolder.
> 
> Then again, I wouldn't mind if things stay as they are, except that
> PlugInContainer is made to derive from BTreeFolder rather than Folder.
> Of course, that creates a dependency that you need the BTreeFolder
> product in order to use ZPatterns.

Or... I could alter Shane's BTree Folder product to split it into a
mix-in class and a usable folder class. Would that work, I wonder?

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net