Latest Articles in the Category Design Patterns

Sort by: Most Comments | Avg Rating | Most Ratings | Cancel Sort

Key Process Patterns

Manning Publications, Aug 15, 2011
Views: 5,285 Avg Rating: 0/5 Votes: 0 Comments: 0

This article, based on chapter 2 of Specification by Example, presents effective patterns for software development that author Gojko Adzic has distilled from interactions with dozens of successful teams around the world.

The Command Pattern

Andrew Siemer, Feb 10, 2010
Views: 12,896 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article I will provide a quick refresher on what the command pattern is used for, how it works, and where it fits in the web development world.

DI Patterns: Constructor Injection

Manning Publications, Dec 09, 2009
Views: 13,640 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article, an excerpt from the book "Dependency Injection in .NET", we will take a detailed look at the DI pattern known as Constructor Injection.

Introduction to StructureMap

Chad Myers, Jun 09, 2009
Views: 43,780 Avg Rating: 5/5 Votes: 1 Comments: 1

Have you heard of StructureMap, generally know what it’s for, and want to know how to get started quickly with it? This article will help you achieve all that and give you a few pointers on how to use some of the more intermediate and advanced features!

TypeMock’s Arrange-Act-Assert

Brian Mains, Jun 08, 2009
Views: 9,752 Avg Rating: 0/5 Votes: 0 Comments: 0

Brian Mains discusses how to implement the Arrange-Act-Assert pattern in TypeMock.

To mock or not to mock, that is the question – Part 1

Gabriel Schenker, Apr 20, 2009
Views: 34,732 Avg Rating: 5/5 Votes: 1 Comments: 6

This article gives a quick introduction in the usage of two of the most known mocking frameworks: Rhino Mocks and Moq.

The Presenter in MVP Implementations

Dino Esposito, Mar 18, 2009
Views: 16,511 Avg Rating: 5/5 Votes: 1 Comments: 1

Dino Esposito explores in depth the structure of the Presenter in the MVP pattern.

Flavors of MVP

Dino Esposito, Feb 19, 2009
Views: 6,360 Avg Rating: 5/5 Votes: 1 Comments: 0

Dino Esposito continues his overview of the MVP design pattern.

Evergreen but still topical: MVC vs. MVP

Dino Esposito, Jan 15, 2009
Views: 28,761 Avg Rating: 0/5 Votes: 0 Comments: 2

Dino Esposito compares the MVC and MVP design patterns.

Design Patterns – Part 7

Granville Barnett, Oct 13, 2008
Views: 13,432 Avg Rating: 5/5 Votes: 1 Comments: 6

In this part of the design patterns series we will take a look at the template pattern.

Design Patterns – Part 6

Granville Barnett, Oct 08, 2008
Views: 7,518 Avg Rating: 5/5 Votes: 1 Comments: 0

In this part of the design patterns series we will look at the adapter pattern.

Design Patterns – Part 5

Granville Barnett, Oct 06, 2008
Views: 10,460 Avg Rating: 5/5 Votes: 2 Comments: 3

In this part of the design patterns series we investigate the command pattern and its uses.

Design Patterns – Part 4

Granville Barnett, Sep 17, 2008
Views: 13,381 Avg Rating: 5/5 Votes: 1 Comments: 3

In this part of the design patterns series we will look at the singleton pattern.

Design Patterns – Part 3

Granville Barnett, Sep 05, 2008
Views: 15,922 Avg Rating: 4/5 Votes: 2 Comments: 2

In this part of the design patterns series we will take a look at the factory pattern.

Design Patterns – Part 2

Granville Barnett, Aug 22, 2008
Views: 12,418 Avg Rating: 5/5 Votes: 1 Comments: 0

In this part of the design patterns series we will take a look at the observer design pattern.

Design Patterns – Part 1

Granville Barnett, Aug 18, 2008
Views: 21,367 Avg Rating: 5/5 Votes: 2 Comments: 5

Learn how to design more robust and maintainable code by incorporating design patterns into your software projects.

Book Review: Implementation Patterns

Alessandro Gallo, Jan 25, 2008
Views: 5,524 Avg Rating: 0/5 Votes: 0 Comments: 1

Alessandro Gallo reviews the latest book by Kent Beck.

How to Write a Provider Model

Keyvan Nayyeri, Jan 21, 2008
Views: 65,329 Avg Rating: 5/5 Votes: 4 Comments: 15

In this article Keyvan teaches you how to write your own data provider for .NET applications using the provider model.

Inversion of Control and Dependency Injection with Castle Windsor Container - Part IV

Simone Busoli, Aug 30, 2007
Views: 37,365 Avg Rating: 4/5 Votes: 5 Comments: 18

In this article I introduce the missing core features I didn't tackle before.

Inversion of Control and Dependency Injection with Castle Windsor Container - Part III

Simone Busoli, Aug 06, 2007
Views: 30,345 Avg Rating: 5/5 Votes: 6 Comments: 8

In the previous article I showed how to take advantage of some of the features offered by Windsor Container to configure components and supply dependencies. You have seen how to deal with compulsory and optional dependencies, as well as how to inject simple values and component references, either individually or collected into arrays, lists and dictionaries.

Applying Domain-Driven Design and Patterns

Alessandro Gallo, Aug 03, 2007
Views: 10,355 Avg Rating: 5/5 Votes: 1 Comments: 0

This book talks about building enterprise software. That is, designing applications with robustness, scalability and maintainability in mind. The approach took by Jimmy Nilsson is focusing on the business model - A review by Alessandro Gallo.

Inversion of Control and Dependency Injection with Castle Windsor Container - Part II

Simone Busoli, Jul 30, 2007
Views: 51,442 Avg Rating: 5/5 Votes: 3 Comments: 2

Since the previous article didn't show much of the features offered by Castle Windsor Container, I will resume the previous discussion extending the requirements of the former example to show how IoC deals with changes and what is its real potential.

Inversion of Control and Dependency Injection with Castle Windsor Container - Part I

Simone Busoli, Jul 24, 2007
Views: 180,756 Avg Rating: 5/5 Votes: 11 Comments: 8

Inversion of Control (IoC) and Dependency Injection (DI) are two related practices in software development which are known to lead to higher testability and maintainability of software products. While some people employ them daily in their work, many others still don't know much about them, mostly because they require in the former a shift in the usual thinking process.

Introducing Dependency Injection Frameworks

Karl Seguin, Apr 13, 2007
Views: 25,272 Avg Rating: 4/5 Votes: 3 Comments: 4

Within a project, classes will inevitably rely on each other. In some situations, this coupling can make code difficult to unit test or dynamically extend. A common solution is to this problem is to use a Dependency Injection Pattern. In this article we'll look at how we can leverage the open-source Dependency Injection Framework called StructureMap, within The Code Wiki application.

Template Pattern

Haissam Abdul Malak, Jan 29, 2007
Views: 16,108 Avg Rating: 2/5 Votes: 1 Comments: 0

In this article, Haissam Abdul Malak will explain the Template Design Pattern and how its implementation in your development cycle will solve time consuming problems.