logo       

Re: Exemple of pattern: msg#00096

lang.smalltalk.squeak.beginners

Subject: Re: Exemple of pattern

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
pattern.

> and Factory methode

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

Giovanni


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise