[Zope-dev] Compatibility issues: ZPatterns 0.4.2

Steve Alexander steve@cat-box.net
Fri, 01 Sep 2000 10:37:02 +0100


Steve Alexander wrote:

> Phillip J. Eby wrote:
>
> > Now, I can provide *unfiltered* linkage by direct delegation, but this
> > would mean dropping the ability to selectively take only certain
> > attributes
> > or sheets from the parent.  But I suppose that, compared to dropping the
> > capability to acquire altogether, this might be preferable.
> 
> 
> This sounds fine for my use of Triggers that apply across everything
> that a Specialist manages.

I've got ZPatterns 0.4.2a1 now.

I see that Folders w/ customizer support now have their own 
Data-plug-ins tab (they didn't before), and that it does direct 
delegation, rather than filtered forwarding.

Does this mean that your suggestion above has become a design decision 
for ZPatterns? Data plug-ins directly in Customizers and Specialists 
aren't due to be deprecated? I'm guessing that this is the case.

Also, it is a bit of a pain to refresh each of the DataManager instances 
on each upgrade. How about an external method in ZPatterns to walk the 
object tree and update instances as required? Perhaps it could use 
ZopeFind. Or, seeing as Specialists and Customizer folders contain other 
DataManagers, could you add a button to a tab in Specialists and 
Customizer folders that refreshes them, and recursively all the 
DataManagers they contain? Then I'd just have to go to each top-level 
datamanager and refresh them when I upgrade.


Oh also, FYI, we're using ZPatterns for a couple of medium sized 
projects, one of which is functionally complete. SkinScript has proved 
extremely useful. I've been able to evolve an application in a very 
clean way using propertysheets and SkinScript, whereas before I'd have 
had to retrofit a custom base class.

Phillip and Ty, thanks for your sharing your work and sharing your ideas.

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