Possible duplicate:How do you know when to use design templates?
How can I understand / decide "When to use a design template"?
What are the factors to consider when deciding whether to use the appropriate design pattern in the appropriate place?
As a rule, if you do it right, there is a template for it. Now you can know that you are using it.
If you do it wrong, there is an anti-pattern. But you definitely don't know that you are using it.
Four of the patterns (GoF) are a good resource.
, , , . , , , , .
, , . , Observer Publish/Subscribe, , - .
, , ObjectPool.
, , simpler API, Facade:
, , . . , , , . , .
, - , , .
()
dofactory.com: dofactory
Python: http://video.google.com/videoplay?docid=-3035093035748181693
OO. , , .
, , .
- , .
"Emergent Design: " . , , .
, , , , , , , .
, , , , Controller .
, , . , , .
, , , .