[Newbies] Exemple of pattern

Giovanni Corriga giovanni at corriga.net
Thu Jun 22 07:31:00 UTC 2006

Il giorno mer, 21/06/2006 alle 14.07 +0200, Mathieu SUEN ha scritto:
> Hi,
> I was wondering were I can find some concret exemple of Decorator
> pattern in squeak.

In Squeak 3.8, look at the FlashFileStream class.

> And also:Adapter(I don't really understand the use of it)

This I don't know.

> Abstract Factory

I'm not sure, but for abstract factory maybe you could look into
ToolBuilder for Squeak 3.9.

> Builder

The GoF book cites Parser, ClassBuilder as examples of the Builder

> and Factory methode

The GoF book cites Behavior>>parserClass as an example of this pattern.


More information about the Beginners mailing list