Sandbox
Sandbox

Reputation: 8178

Is there an optimized .net implementation of design patterns?

I have seen .net optimized implementation of design patterns on http://www.dofactory.com. But not all patterns are available on the site. Is there a site/blog which has an .NET optimized implementations of all design patterns?

Upvotes: 1

Views: 613

Answers (3)

Yaroslav Yakovlev
Yaroslav Yakovlev

Reputation: 6483

Actually you can google and find their framework somewhere in the net or buy it. I was looking for a long time but never found a full imlpementation of .net optimized patterns. Instead of it I`d suggest to look for design patterns pattern by pattern in different .net open source projects.

The cons are obvious: you`ll be able to see implementation in the real world (and implementation of dofactory imho is far away from the real world even in their real world examples).

Youll be able to see different implementations and the whole code structure involved in the pattern. So youll see how it influenced the design and what problem it solved. As patterns are good reusable design solutions it is a good way to see them in real code to use afterwards.

Upvotes: 0

djna
djna

Reputation: 55937

My expectation of Design Patterns is that you don't "buy" (or otherwise acquire ready-built) implementations. Rather, as you design your classes you apply relationships that conform to the patterns. To take an extreme example, why would you "buy" a Singlton, or a Visitor pattern?

Framworks are much bigger than patterns, those it's reasonable to "buy", but there you are deliberately agreeing to delegate very major parts of your design to the framework author - and thereby save much time.

Upvotes: 2

xandy
xandy

Reputation: 27421

I spent quite some time on reading this book, those 23 GoF patterns should all covered with c# examples there, hope it could help you too.

Upvotes: 0

Related Questions