News
Editor's Choice on CodeProject.com
Submitted by admin on Tue, 07/13/2010 - 15:32My article on Refactoring to the Template Method Design Pattern has been selected as the Editor's Choice on CodeProject.com. Thanks to them for that.
- Login to post comments
Refactoring to Dependency Injection
Submitted by admin on Sat, 05/15/2010 - 13:17The second article on Refactoring to Design Patterns is now available on CodeProject.com. It's a continuation of the previous article, but takes things a step further. In the second article we extract an algorithm into it's own class so that we can use the Strategy and Dependency Injection Patterns.
- Login to post comments
Refactoring to the Template Design Pattern
Submitted by admin on Wed, 05/12/2010 - 17:58The first of a two part article on refactoring to Design Patterns is now available on codeproject.com. The first article takes you from a single routine that is doing too much and shows the problems with trying to maintain it.
It then shows how to rector the code to the Template Method design pattern and demonstrates how new features can be added to the code while improving rather than degrading the quality of the code.
The sample code is in C#
Part two is coming soon and will take things a step further by introducing the Dependency Injection pattern.
The Specification Design Pattern
Submitted by admin on Mon, 04/06/2009 - 11:24I've written a four part series on the Specification Design pattern. The four articles are available now on codeproject.com. The articles take you from an introduction to the pattern to a simple VB.Net implementation and finaly to a reusable Specification class that uses inheritence, generics and Operator Overloading.
Attributes and Value Objects article on eggheadcafe
Submitted by admin on Sun, 11/23/2008 - 02:17My article on modelling attributes using value objects is available on eggheadcafe. It'll take you though the process of modelling a Temperature attribute, starting with a naive implementation and working towards a fully fledged value object.
