Lars Wilhelmsen

Microsoft Connected Systems MVP

Skip to: Content | Sidebar | Footer

Aggressive domain model fluent interface – take #1

2 October, 2008 (19:56) | Aggressive, DDD, Fluent+Interfaces | By: larsw

So, I’m currently writing some infrastructure/backend code for Aggressive – a new lightweight time management I’m putting up on CodePlex.

The idea is to us it to practice something that I’m not really good at; TDD – and also try to apply DDD from “top to bottom”.

I’ve taken an interest in internal DSLs and fluent interfaces, so I started to mock up a simple interface for manipulating the Aggressive model.

Take #1:

Aggressive Fluent Interface - Take #1

I tried two different models in the fixtures; the first one where the navigation starts from the user object – and ends up in the task – and the other going the opposite way.

Aaarrrgh.. Grrrr… xUnit 1.0.3 used for testing :-)

I’m open for input & comments.

Share and Enjoy:
  • del.icio.us
  • DotNetKicks
  • Digg
  • Google Bookmarks
  • DZone
blog comments powered by Disqus