|
Ive used a couple of the GoF pattens in my applications as well as read articles and books on them, i however want to find out from the rest of you guys where you used the patterns before?
So, if you could list examples or short descriptions where you have used the various Behavioral, Creational and Structural patterns in real production applications that would be awesome!
|
|
|
|
|
Pick a forum and stick with it. Please.
|
|
|
|
|
Gohan_Coder wrote: So, if you could list examples or short descriptions where you have used the various Behavioral, Creational and Structural patterns in real production applications that would be awesome!
No, it wouldn't be awesome, it'd be a friggin' waste o' time without an apparent goal, or advantage on my side. When talking to an engineer, drop the marketing-fluff in your texts.
This post would cause a timeout if I were to list examples for each pattern; if you're having trouble imagining a use for them, then you lack experience in "writing" code. It does not mean you did not study hard, only that you did not yet run into the problems that they're supposed to solve.
To answer in your style; "Have a great day!"
If that sounded like an insult, go for programming. Otherwise, go for marketing
|
|
|
|
|
Searching through the article section on this site will provide with you a number of articles on the design patters that you have implemented yourself.
|
|
|
|
|
For websites, I've just MVC and MVVM quite happily. With MVC, I've both done ASP.NET MVC and also used ExtJS, by Sencha, which suits this design well. For web MVVM, I use Knockout.js. As with everything else, I've mixed patterns together, so I've used Factory patterns, observables, lazy patterns, object pools, bridges, composition, adapters, decorators and many other patterns.
For desktop apps, I heavily rely on MVVM and the Mediator, along with many of the other patterns I've listed above - and many, many others.
The point to understand is, you don't write your application to use a pattern, you use a pattern to support features of your application. In other words, don't try to slavishly use patterns in your application - just use the tools that are necessary to solve the problem at hand. You'll be surprised how many patterns you use on a day to day basis without even knowing it.
|
|
|
|