Posts about Architecture

Griffin.Container: Introducing the command support

Commands are a great way to decouple logic in an application, since the command invoker has no knowledge of where the command is handled. You also move the…

Protect your data!

The introduction of OR/M libraries and strongly typed views/view models has made a lot of programmers switch to the dark side. Let’s fight this evil!

Griffin.MvcContrib – The plugin system

Griffin.MvcContrib is a contribution project for ASP.NET MVC3 which contains different features like extendable HTML Helpers (you can modify the HTML that the…

Generic repositories – A silly abstraction layer

This post is all about GENERIC repositories as in Repository, not about all types of repositories. Repositories are a great way to abstract away the data…

Repositories, Unit Of Work and ASP.NET MVC

There are a lot of posts discussing repository implementations, unit of work and ASP.NET MVC. This post is an attempt to give you an answer which addresses…

Why extension methods should not be used as part of a framework

Two of my favorite frameworks/libraries use extension methods heavily: Autofac during registration and ASP.NET MVC3 for its HTML Helpers. Since extension…

Three reasons why you should use view models

I’ve answered a couple of questions on Stack Overflow regarding the benefit of view models. Here is a summary of all my answers focusing on view models in…