[Seaside] Re: Help with converting Gardner

Yar Hwee Boon hboon at motionobj.com
Sat Dec 18 15:04:48 CET 2004


On Sat, 18 Dec 2004 14:52:03 +0100, Avi Bryant <avi.bryant at gmail.com>  
wrote:

> Well, we could even have #data default to being a Dictionary (but
> configurable to use some other class), so that you could start out
> doing
>
> self session data at: #foo
>
> and then migrate to
>
> self session data foo
>
> as necessary.  Except that I think I'd want to shorten that to
>
> self sessionData foo.
>
> Seem reasonable?

Comparing this approach of setting a pluggable data object to the current  
way of subclassing WASession, what would be the benefit of the former? In  
other words, is there anything undesirable with subclassing?

-- 
Regards
HweeBoon
MotionObj


More information about the Seaside mailing list