Click here to Skip to main content
       

C#

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionC# GoF Design pattern usagememberGohan_Coder13 Nov '12 - 8:15 
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!

AnswerCross posted from the lounge and Q and A. PinprotectorPete O'Hanlon13 Nov '12 - 9:13 
Pick a forum and stick with it. Please.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

AnswerRe: C# GoF Design pattern usage PinmemberEddy Vluggen13 Nov '12 - 11:32 
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!" Suspicious | :suss:
 
If that sounded like an insult, go for programming. Otherwise, go for marketing Thumbs Up | :thumbsup:
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

AnswerRe: C# GoF Design pattern usage PinmvpAbhinav S13 Nov '12 - 21:15 
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.
WP7.5 Apps - XKCD | Calvin | SMBC | Sound Meter | Speed Dial

AnswerRe: C# GoF Design pattern usage PinprotectorPete O'Hanlon13 Nov '12 - 22:28 
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.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid