Re: Sending messages between objects and the observer pattern?
Originally Posted by lucky6969b
Is the observer pattern a "wrapper" or say I don't know different ways of presenting the messaging system?
I don't quite understand what you're asking but in my view the design pattern that's closest to a message system is Mediator. It's a complexity reducing pattern and the idea is to broadcast messages among anonymous objects rather than letting them communicate directly knowing about each other.
Regarding Observer I'd say the notification part can be though of as messaging. And in the GoF book a variation of Observer is described which uses a Mediator for more complex notification needs.
Last edited by nuzzle; March 12th, 2013 at 03:38 AM.