[Zope-PTK] PTK II

Chris Withers chrisw@nipltd.com
Fri, 28 Jul 2000 23:43:29 +0100


"Phillip J. Eby" wrote:
> Makes sense to me - I think.  Let me see if I understand.  I'll avoid
> ZPatterns terminology, since it's not necessarily needed (although it's a
> good fit).  The Portal will be an object that contains a Membership object,
> a Workflows object, and a Discussions object.  Then either the portal
> content objects themselves or the standard_html_head/footer will get
> toolbox items from these functions by way of the Portal object.  Is that
> essentially correct?

By Portal, do you mean 'The Portal' from my comment? If so, then this
sounds great.
In the same way Squishdot currently uses _instances_ of TinyTables to
store configuration data, would 'The Portal' use instances of Content
Objects along with a Membership Object and some(?) Workflow objects?
Perhaps some higher-level DataManager-esque objects would be used to
help the DataSkin-ny content objects and workflow objects?

> >we should instead use singleton objects that add capabilities without
> >subclassing 

Ah, okay, now I'ev read this properly...

Would these singletons be the 'DataManager's that stroe the 'DataSkins'
which are the actual portal content objects?
That makes most sense to me but I might be misunderstanding...

> Unfortunately, this new "delegate anything" ability is not at all
> documented.  I expect to be using it soon to add delegation of local roles
> computation (rule-based local roles),

Cool, please post some code snippets when this happens :-)

> The other thing that would be needed to take advantage of this delegation
> capability, would be better ZClass support for PlugIns.  I would very much
> welcome code contributions that would get PlugIns in the right direction
> there.  Specifically, one should be able to create a PlugIn or
> PlugInContainer as a ZClass, complete with adding/setting up PlugInGroups
> in the management screens for the ZClass.

Is this a 'ZClasses problem' or a 'PlugIns working with ZClasses
problem'?

> Now if only there were more weeks in a day...  :(

Don't I know that feeling sitting at my desk at 11:43pm ;-)

Chris