Donnerstag, 26. Februar 2009

The Design Patterns Smalltalk Companion

The Design Patterns Smalltalk Companion

excerpts:
http://stephane.ducasse.free.fr/FreeBooks/SmalltalkDesignPatternCompanion/

notes on page 29

Creational Patterns

1. Abstract Factory-- Provide an interface for creating families of related or dependent objects. Let clients create products in any family of products in an abstract fashion, without having to specify their concrete classes.

2. Builder-- Separate the construction of a complex object from its internal representation so that the same construction process in a client can be used to create different representations.

3.Factory Method-- Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets class defer instantiaton to subclasses.

4. Prototype--Specify the kinds of objects to create using aprototypical instance, and create new objects by copying this prototype.

5. Singleton--Ensure a class has only one instance, and provide a global point of access to it.



1 Kommentar:

Anonym hat gesagt…

Great site. A lot of helpful info here. I am sending
it to several buddies ans additionally sharing in delicious.

And naturally, thanks in your effort!

Feel free to surf to my blog post :: Louis Vuitton Handbags Outlet