Posts Tagged “Design Patterns”

Supporting multiple databases using the Unit of Work and Repository patterns

By | December 13, 2011

You might have read my previous entries about the Unit of Work and Repository design patterns. If not, you might want to check them out before reading the rest of this article. Unit of Work & Repository support for multiple frameworks Letting your Unit of Work & Repositories support multiple frameworks A little while ago, [...]

Read more »

The magic of Castle Windsor!

By | February 24, 2011

featured_placeholder

A while ago I wrote a few articles on this site about exposing Castle Windsor to your application. For some reason that caught the attention of Krzysztof Koźmic and Mark Seemann. In short they felt I was doing it all wrong! Which led to a follow up article. Fair enough, I was new to the whole principle [...]

Read more »

Castle Windsor: exposing a container to an application

By | September 28, 2010

A while ago I wrote multiple entries about generic factories and repositories. The ObjectFactory I created there was loosely based around the ideas of Inversion of Control. I’ve learned many new things by now and apparently it’s a reasonably common journey for anyone new to IoC to start out with a little ObjectFactory class and [...]

Read more »

Letting your UnitOfWork & Repositories support multiple frameworks

By | August 30, 2010

On popular demand, part 2 with a sample project can be found here. A little while ago I found myself in a situation where I had to replace Microsoft’s Entity Framework with NHibernate. I had figured this wouldn’t be too much of a problem! I had neatly used a Unit of Work and Repository implementation [...]

Read more »

Generic factory and repositories: Part 2 revisited

By | May 18, 2010

This post is part of a series: – Generic factory and repositories: Part 2 revisited – Generic factory and repositories: Part 2 – Generic factory and repositories: Part 1 – WCSF, Repositories and Unit of Work? In Part 2 I discussed my implementation for a SimpleRepositoryFactory. I said that I wasn’t quite happy with the [...]

Read more »