-
Archives
- May 2013
- February 2013
- October 2012
- August 2012
- June 2012
- May 2012
- March 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- March 2011
- February 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
Category Archives: Patterns
Two Screencasts on How to Demystify Spaghetti Code
In my consultant career, no matter the kind of company I visited, from the tiny startup to the largest fortune 500 corporation, they all have in common to be entangled in spaghetti. Spaghetti means poorly structured code. Spaghetti means high maintenance and … Continue reading
Validating Architecture through LINQ Query
These days we are restructuring the NDepend code base to make it more suited to welcome future features implementation. Here is below the new architecture of the NDepend.UI assembly, made of around 50.000 lines of code, shown through a Dependency Structure … Continue reading
Also posted in C#, Code Dependency, Code Query, Code Rule, code structure, Code visualization, CQLinq, Dependency Matrix, Layer, LINQ, namespace, namespaces, NDepend, Pattern, Performance
2 Comments
Identify Code Structure Patterns at a Glance
Normal 0 21 false false false FR X-NONE X-NONE I think that caring for dependencies is the best thing you can do to make your program maintainable and to fight against complexity. I’d like here to provide some tips to … Continue reading
Also posted in Acyclic componentization, complexity, coupling, Cycle, Dependencies, DSM, high cohesion, Indirect Dependency, Layer, matrix
4 Comments
Container-managed applications
OK, so you’ve past the point of deciding whether or not you will use an IoC container. Then you find out that is just the beginning of the road. How does that container fit in your application design? Should you … Continue reading
Also posted in Uncategorized
1 Comment
MVP with MEF
Krzysztof had a question on StackOverflow around doing MVP triads wtith MEF. He came up with a way to do it that he wasn’t happy with and which I told him was pretty hacky After chatting with Krzysztof I took … Continue reading
Also posted in Uncategorized
2 Comments
Finding the right level of coupling
http://www.flickr.com/photos/tammys_world/1785770650/ This is a follow up from my previous post on Composite extensions for Win Forms. Early on as we started the development of Prism, we had a few decisions to make around our coupling to WPF. We knew that … Continue reading
Also posted in Uncategorized
27 Comments
Yet another post on MVP vs MVC
I can see that StackOverflow.com can turn into addiction and I can’t afford another one Anyway while browsing, I noticed a question on MVP vs MVC. I just couldn’t resist…oh and I did add something on Presentation Model. I won’t … Continue reading
Also posted in Uncategorized
4 Comments
Rik on Design Patterns
Rik Bardrof, one of the senior developers at Xclaim, recently gave a presentation to the Syracuse .NET Developer’s Group. I was in town, so I captured the talk. In it, he covers a few patterns/principles we use extensively in our … Continue reading
Also posted in Uncategorized
Leave a comment
Hook Methods
I’ve written about the template method pattern before. For my money it’s still a very useful pattern for building super lightweight frameworks and enabling the open-closed principle which states: Software entities (classes, modules, functions, etc.) should be open for extension, … Continue reading
Also posted in Uncategorized
69 Comments
Super Models, Part 1: Sexy Specifications
In Domain-Driven Design we turn to the specification pattern when we want to check whether an object matches some criteria. I think specification is the oft-forgotten bastard child pattern of the domain model pattern language. I know I frequently turn … Continue reading
Also posted in Uncategorized
2 Comments