Category Archives: Patterns

Separation of Concerns by example: Part 3

We made quite a bit of progress separating out the concerns in Part 2, but there are still some issues with our current design.  Other parts in this series include: Separation of Concerns – how not to do it Separation … Continue reading 

Also posted in LINQ to SQL, Refactoring | 6 Comments

Pablo’s Topic of the Month – April: Design Patterns

Pablo’s Topic of the Month – April: Design Patterns Over the next few days and weeks, the Los Techies crew will be writing a number of blog posts focused a particular subject in addition to their regular blogging.  Pablo’s Topic … Continue reading 

Also posted in C# | Leave a comment

Unit testing MonoRail controllers – Redirects

When developing with MonoRail, one of the common operations is to redirect to other controllers and actions.  Originally, I looked at the BaseControllerTester to help test, but it required a little too much knowledge of the inner workings of MonoRail … Continue reading 

Also posted in MonoRail, TDD, Testing | 6 Comments

Intention-concealing interfaces: blob parameters

When someone is using your code, you want your code to be as explicit and easy to understand as possible.  This is achieved through Intention-Revealing Interfaces.  Evans describes the problems of opaque and misleading interfaces in Domain-Driven Design: If a developer … Continue reading 

Also posted in C#, Domain-Driven Design | 1 Comment

Principles and Patterns over Tools and Frameworks

It’s interesting to see what other developers value and/or what topics they are interested in regarding the development of software.  I’m going to start doing some internal presentations and live coding sessions at my company for my fellow consultants.  I’ve … Continue reading 

Also posted in Agile | Leave a comment

Specifications versus validators

Joe posed a great question on my recent entity validation post: I question the term Validator in relation to DDD.  Since the operation of the Validator seems to be a simple predicate based on business rule shouldn’t the term Specification … Continue reading 

Also posted in Domain-Driven Design | 7 Comments

Entity validation with visitors and extension methods

On the Yahoo ALT.NET group, an interesting conversation sprung up around the topic of validation.  Entity validation can be a tricky beast, as validation rules typically depend on the context of the operation (persistence, business rules, etc.). In complex scenarios, … Continue reading 

Also posted in C# | 29 Comments

RE: Technology Brainstorm

(Because I often get tired of writing my verbose comments in a 300×300 text box…) Colin seems to find himself in a pretty good spot.  The wonderful world of Greenfield development.  But of course with this comes…decisions.  MVC or Web … Continue reading 

Also posted in Agile | Leave a comment

RE: Presentation Model Question

I’ve been working on an end to end example using MonoRail (I know, just get it posted Joey!) that can demonstrate one way this can be implemented and JP has given me the green light to get it posted even though he’s … Continue reading 

Also posted in Agile, Behave#, Testing | Leave a comment

My First Interview (that I have given)

Today I was asked to give a technical interview to a candidate which is kind of a new thing for me.  He had already been screened on the “what’s an abstract class and how do you do <insert something here /> … Continue reading 

Also posted in Agile | Leave a comment