[Zope3-dev] Re: proposed changes to contained helper functions
Shane Hathaway
shane at zope.com
Fri Oct 3 11:44:17 EDT 2003
Fred L. Drake, Jr. wrote:
> Shane Hathaway writes:
> > Giving a unique name to each child serves the purpose of making all
> > children potentially addressable via URL. That's one of the sweet spots
> > of Zope; it makes the system discoverable and clear. I think a decision
> > to not use this pattern should be weighed carefully. In particular, if
> > an object is not addressable via URL, it is quite difficult to provide a
> > Web user interface for it or any of its descendants.
>
> He's right not to use names here; the DOM is well-defined. Exposing
> individual node of the DOM directly via Zope is questionable (IMHO),
> but I don't know if that's what he's doing.
I'm not suggesting that DOM nodes must be accessible via URL, but I am
saying that the effort of making children addressable pays off quickly.
The specific case of DOM nodes may be an exception to the rule, although
previous Zope/XML projects have indeed attempted to map the DOM to URLs.
Shane
More information about the Zope3-dev
mailing list