From: Chris W. <ch...@cw...> - 2002-08-17 16:27:10
|
Short and sweet: instead of using all the SPOPS::ClassFactory foo to set object rules only at class initialization, you'll be able to add observers to classes at startup or during program execution. The current SPOPS methods dealing with pre/post actions and rulesets will go away or become wrappers. In their place, every SPOPS object will derive from Class::Observable. It will let observers know about pre/post methods and will be able to let observers know about other actions as well. We should be able to support backward compatibility fairly easily, since anonymous subroutines can be registered as observers to a class. What do you think? Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |