Skip navigation.
Home

News

Latest Devjoy News

Editor's Choice on CodeProject.com

My 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.

See Here

Refactoring to Dependency Injection

The 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.

Refactoring to the Template Design Pattern

The 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

I'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

My 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.

See Here

Syndicate content