[Newbies] Re: Creating custom events in a domain.

Hilaire Fernandes hilaire2006 at laposte.net
Sat Feb 24 23:00:41 UTC 2007

Mispunt a écrit :
> Hi Squeakers,
> I am working an a project where we have a domain. this domain should
> not know the classes outside the world, so to communicate the domain
> should fire an event where the classes outside the domain could react
> to.
> How could this be done? I didn't find anything about it in the wiki..
> Kind regards,
> Mispunt

You are looking for the Observer pattern,

see this small note about it http://wiki.squeak.org/squeak/1214


More information about the Beginners mailing list