How important are design patterns in web development?

What are the design patterns that I should be completely familiar with? And what is a simple example of what everyone can be used for?

I am a web developer (I use Django and am familiar with the separation of logic), but I work for Desktop-app. They always talk about singles, and I forget ... but that leaves me no clue!

+5
source share
6 answers

Forget about Singleton. This is confusing and rarely necessary.

Learn Status , Strategy and Team . They are used all the time.

- , , . , if State. . if- - , , .

"" "" "".

( ) . . , , , . , , , . - , -, .., , Command.

+10

, , , , . , , , . , , , , . - . Amazon.com , , , . , Ruby on Rails, , , Java, Head First Design Patterns, #, , . , , . , , , .

+2

, , . , , , , "" , , , , , .

, , , , - , , . , , .

, , -, ( ). , . , , , .

. , .

+1

-, , , , , " ", . .

, . , , /- . , , , .

" 1" GoF PoEAA , , , , , . , .

GoF, , , -, : Observer, Command, Composite, State, Strategy. Singleton, / . PoEAA, , , -, Active Record, Application Controller, Data Mapper, Domain Model, Gateway, Lazy Load, Layer Supertype, Controller, Template View Value Object. ; , .

, , , -, Rails, Django Monorail Castle, . , , , , .

- , , " " , , , , .

So, learn the patterns, yes; Get a superficial overview of the motives of all the most commonly used ones, but don’t feel that you need to wait to write serious code until you understand some arbitrary list of them.

+1
source

MVVM is the newer I've seen in Silverlight. It is a little, but it seems effective.

0
source

All Articles