[Product-Developers] [Dexterity] Why attribute storage instead of annotations

Andreas Jung lists at zopyx.com
Mon Oct 1 14:15:54 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

data defined through a schema in Dexterity seems to be stored
directly as attribute on the persistent context object. Why
is this the case? Wasn't it consider bad practice in the AT world
doing this? A simple change to one attribute causes the complete
persistent object to be written to disk. Why doesn't Dexterity make
use of annotations or a btree here?

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJQaaWZAAoJEADcfz7u4AZjgbkLwJRko0FaaaxW6LEpfiD4kMO0
M3z6dYf4iHxP5KIqGQ1H1SikRe0vyQqhgoidUOYph3eS7h3OVqzy7YSFPnoqGF0R
xOFm+rBg05pAttkB77ZQvTVK/b8stPfUlrLlXGF3vcSqmHF/vWqbU2qvtF91lMgq
QdA8/rpvK+I28HrraejgpsVNqTuHQ7Ashz29MRj547OAxsxzbGqBrkVrJEItjvsk
16wuZZ4ZntS7Z4+F4oFqQ8mE31aGsWVGsHsjT4ndb2SrEZZASdj4pErYixaPq6o2
EAlin+c2Bs+D5k4mPy7JkjFfSPwsBAZtXD5ua16iWc66Obnm9pL40LXPNiS28Ol/
97qFI1KC1YrI02L+xEKqh9X3nmPXGg8Rh0A6lmuCTOb1zWU6QH7FOO0KNS0twys1
VFof1ai5z+j4D8HqMO4yWaFjjil95ceVydDUxCkPzSbSHf1Y4zAJ0XkW9NJ7ov04
1bn9BZW/CEV32BXDzVVjUTODDbtyLRU=
=g+ca
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 353 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20121001/62d11366/attachment.vcf>


More information about the Product-Developers mailing list