[Seaside] Prevayler
Avi Bryant
avi@beta4.com
Sun, 17 Mar 2002 11:47:40 -0800 (PST)
On Sun, 17 Mar 2002, Avi Bryant wrote:
> At the least, couldn't Commands be methods on a subclass of Prevlayer rather
> than full classes? I still don't like funnelling everything through a
> single object but that would feel a little more natural.
Actually, I guess I mean PrevlayerSystem here, since that's what you
subclass already. In other words, rather than having an AddObjectCommand
with the method
execute: aSystem
aSystem add: object
couldn't you just have a proxy in front of aSystem that intercepted and
logged the #add: call so that you could interact with the system object
directly?