Design Patterns

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?

+5
source share
6 answers

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.

+3
source

Four of the patterns (GoF) are a good resource.

+2

, , , . , , , , .

, , . , Observer Publish/Subscribe, , - .

, , ObjectPool.

, , simpler API, Facade:

, , . . , , , . , .

, - , , .

()

dofactory.com: dofactory

Python: http://video.google.com/videoplay?docid=-3035093035748181693

OO. , , .

+2

, , .

- , .

0
0

, , , , , , , .

, , , , Controller .

, , . , , .

, , , .

0

All Articles