Hash: SHA1

On 16 Apr 2006, at 18:27, Wichert Akkerman wrote:

Previously Jens Vagelpohl wrote:
I hate to say it, but GRUF isn't an example for anything right or
good when it comes to user folders. And that opinion goes right up to
the top in Plone circles.

No argument there. But considering how popular GRUF is its behaviour is
a good measure of what people are used to.

IMHO this makes that specific behavior a candidate for being in the Plone layer as opposed to the PAS layer. Or at least set up in PAS so it is not the default behavior.

So my own opinion is that I don't like the persistence magic for
setting properties. IMHO the methods on the properties plugins should
be called explicitly instead of automatically whenever anyone touches
one of these mutable property sheets.

That makes your code very verbose though. For all changes you have to
figure out which plugin the property belongs to, figure out which user
folder should be used, get the plugin from that userfolder and call a
method on that.

There's two specific reasons I have for not liking it. First of all, it's magic. Magic is just plain bad in my book. Simple and explicit is better. Secondly, I fear implementations inadvertently writing more than necessary into a potentially expensive data store (think RDBMs, LDAP, etc).


Version: GnuPG v1.4.1 (Darwin)

Zope-PAS mailing list

Reply via email to