CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Raymond Lewallen

Framework Design, Agile Coach, President Oklahoma City Developers Group, Microsoft MVP C#, TDD, Continuous Integration, Patterns and Practices, Domain Driven Design, Speaker, VB.Net, C# and Sql Server

What design patterns are you using?

On our forums somebody posted about trying to implement an n-tier solution, which quickly led into a comment from Jake on design patterns.

So, I’d like to do a little survey.  What design pattern(s) dominate your software models?  What are you really doing?  You can go to this link and view some of the more popular patterns.

Like many of you, abstract factories, factory methods, adapter and template methods dominate my world.  Singletons come in handy, especially for state management, as do many other patterns, but they don’t dominate the structure of my code the way the others do.



Comments

.Net Adventures said:

I use often singleton , adapter, abstract factories in my software. I guess singleton is dominate in my code. Instead using wide-known implemantation of Siglenton ,I prefer another implementation(called fully lazy instantiation) .You can find more information at:http://www.yoda.arachsys.com/csharp/singleton.html
# April 27, 2005 7:23 AM

Brenton House said:

In addition to the ones you listed, we use MVC, Flyweight, and Command patterns.
# April 27, 2005 8:42 AM

David Brabant said:

I'm surprised that Publisher/Subscriber doesn't come in your list. I don't remember a single project not involving that pattern at least once.
# April 27, 2005 8:51 AM

Raymond Lewallen said:

Its not that I don't use publisher, subscriber or other patterns, but they don't necessarily dominate my software models.
# April 27, 2005 8:55 AM

mdigiovanni said:

# April 27, 2005 12:52 PM

Brendan Tompkins said:

Factory, and Singleton. I just today got the Design Patterns in c# book, so I'm expecting lots of Ah Ha!s in the near future. Something about looking at those patterns in the GOF never quite clicked.
# April 27, 2005 5:49 PM

GooberDLX said:

# April 28, 2005 2:04 PM

Ido Samuelson said:

Mostly I use abstract factories, pub-sub, adapters and Command. Singleton I never use and if one of my developers designed a singleton class I simply will change it. I prefer static class then singleton one.
# May 1, 2005 1:52 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Raymond Lewallen

Working primarily in the public sector during his career, Raymond has designed and built several high profile enterprise level applications for all levels of the government. Raymond now works as a solutions architect for EMC. Raymond is an agile coach, Microsoft MVP C# and also president of the Oklahoma City Developers Group and Oklahoma Agile Developers Group. Raymond spends a lot of his time learning and teaching such things as Test Driven Development, Domain Driven Design, Design Patterns and Extreme Programming practices and principles, to name a few. Raymond is also an advocate of Alt.Net. Raymond is primarily a framework guy, so don't ask him anything about UI :) Check out Devlicio.us!