[Zope] Re: Organisational vs. Functional hierarchies
Tres Seaver
tseaver at zope.com
Tue Apr 19 17:13:33 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lennart Regebro wrote:
> On 4/19/05, David Given <dg at cowlark.com> wrote:
>
>>Unfortunately, this requires having the code dealing with text and
>>images to be in the same place, which breaks encapsulation.
>
>
> Zope is not a programming language. :-)
> Yes, Acquisition has similarieties to class inheritance, but it isn't,
> and trying to use is as if it was will just get strange.
>
> Acquisition can be handy for inheriting data (or rather,
> configuration), but not methods.
Hmmm.... CMF skins (templates, Python Scripts, etc.) all work via
acquisition; "placeful" scripting in general relies on it heavily.
There is admittedly a lot of extra machinery in place to make sure that
CMF objects select the "right" templates, based on their 'portal_type',
but CMF / Plone / CPS wouldn't work at all without the ability to
acquire software.
Tres.
- --
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCZXR9GqWXf00rNCgRAsMRAJ4vZY7H908VNRDVCxzQAQEcaMPGdwCgjZ0S
Ro/26CQSk0AbLQwCu+8IBrw=
=jOMy
-----END PGP SIGNATURE-----
More information about the Zope
mailing list