[Seaside] session reference
Jeffrey Odell
seaside@lists.squeakfoundation.org
Mon, 9 Dec 2002 19:56:59 -0500
<snip>
One option I'm currently thinking about is moving to a state dictionary
and then adding a custom class definition form that would generate the
necessary accessors - something like
WAComponent subclass: #Foo
instanceVariableNames: 'x y'
stateVariableNames: 'z'
...
Which would then create
x
^ state at: #x
x: anObject
^ state at: #x put: anObject
Jeff, how feasible would that be in Dolphin?
<snip>
I'll have to take a look - you are suggesting that every time the Class
definition is compiled, it auto-generates the accessors, right? Dolphin
has the refactoring browser baked in well, so it would be a matter of
tying in to it. I'm assuming removal would be manual?
jlo