Domaining using classes.

Klaus D. Witzel klaus.witzel at cobss.com
Sat Aug 12 03:45:06 UTC 2006


On Sat, 12 Aug 2006 03:41:17 +0200, Michael van der Gulik wrote:
...
> In other words, each domain has its own set of classes, but each class  
> shares its instance variables (methodDict, instanceVariables,  
> superclass, format etc) with other classes of the same... er... class.
>
> I could probably cludge up some Namespacing or other magic to get  
> "Person" to resolve to the domain's local version of the Person class,  
> so you don't need to use "adPerson" and "bdPerson" but just "Person".

Have you considered using classboxes for that, see

- http://citeseer.ist.psu.edu/684648.html

Though classboxes is about local methods, it can be put to use for "just"  
local classes.

/Klaus




More information about the Squeak-dev mailing list