M
M
Maxim2011-10-07 08:26:17
Design patterns
Maxim, 2011-10-07 08:26:17

What design patterns have you used in your web applications

Good day to all!
Since I am actively studying patterns now, I was interested in the following question: what design patterns in your web applications did you most often use, except for MVC / MVVC and the listener, and to what extent it was justified.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
sainnr, 2011-10-07
@sainnr

Abstract Factory, Singleton, Facade, Adapter, everything seems to be. The rest are much less common.

R
Roman Kutenko, 2011-10-07
@Sky4eg

Singleton registry - for global storages
Singleton - very convenient as a starting access point
Factory - as a layer for initializing classes
Strategy - for filters

S
Sergey Beresnev, 2011-10-07
@sectus

Active record (active record), factory, lazy initialization, adapter, facade, opportunist, iterator, intermediary, strategy, template method (by the way, I just now realized that I use it all the time).
And it still seems to me that many use this or that template without even knowing it.

P
png, 2011-10-07
@png

It all depends on the size of the application. if the project is longer than 3-4 months, then a rather extensive list has to be used to one degree or another.
I have never used builders. And so from the main almost all
Ikhmo, they are needed for large libraries.
It is necessary that the code does not turn into a garbage dump ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question