Community Server

The platform that enables you to build rich, interactive communities
Welcome to Community Server Sign in | Join | Help
in Search

Browse by Tags

All Tags » .NET » DDD
  • More on generics and Inversion of Control

    My last post on Java generics and the Repository pattern got a bit of interest. Judging from the feedback I got, I feel the need to elaborate on the Inversion of Control part of this. As some readers pointed out, Google’s Guice container employes super type tokens to support generics to some extent. The IoC example I gave in my previous post ...
    Posted to Anders Norås' Blog (Weblog) by andersnoras on April 7, 2008
  • Generics, Inversion of Control and Repository<T>

    Whenever I stray off the beaten path of Java generics, I instantly miss C#’s generics implementation. Earlier today, Java’s type erasure erased a few good hours of productivity whilst I was doing a spike on bringing the IRepository<T> experience to Java. In C# you can get the class of any generic type argument in a straight forward ...
    Posted to Anders Norås' Blog (Weblog) by andersnoras on April 3, 2008
  • Is it a bird? Is it a plane? It's a DSL!

    My latest posts on DSLs caused a bit of a stir around the blogosphere. Some of of the more constructive debates have been on wether a fluent interface is just a fluent interface or if it can be labeled as a DSL. I have a consultant's answer to this; it depends. I my opinion my posts on the planning DSL concerns a DSL, even if it technically is ...
    Posted to Anders Norås' Blog (Weblog) by andersnoras on July 15, 2007
  • Behind the scenes of the planning DSL

    Last week I blogged about an embedded DSL for creating different calendar components like events and to do-tasks. For this post I'll let you in on some of the ''secrets'' of embedded DSL development in C#. Before we get started, let me refresh your memory with an example of how the DSL can be used:ToDoComponent planningTask = Plan.ToDo(''Plan ...
    Posted to Anders Norås' Blog (Weblog) by andersnoras on July 10, 2007
  • I'm coming down with a serious case of the DSLs!

    Back in May chromatic published a tongue-in-cheek checklist to determine whether your code is a DSL or an API. Regular readers know that I've done quite a bit of fooling around with various embedded DSLs in Java and I assure you that getting serious with embedded DSLs is contagious. Check out this snippet from a calendar integration framework I've ...
    Posted to Anders Norås' Blog (Weblog) by andersnoras on July 5, 2007
  • IPoco?

    You've probably noticed by now that a new CTP of the Entity Framework has been released. One of the new features is oddly named IPOCO. This is supposedly a step towards persistence ignorance for users of the framework. While people are already having a laugh, trying to come up with the best explanation for what the acronym means, I decided to ...
    Posted to Anders Norås' Blog (Weblog) by andersnoras on July 3, 2007
  • Source code for the Coho Light sample

    A while ago I posted a rant about software factories and maintainability. This post has grown popular, especially after Ayende refered to it in a post, and I have gotten quite a few requests to post the code for my alternative implementation of the Coho Winery membership service. The code is now available for download here.
    Posted to Anders Norås' Blog (Weblog) by andersnoras on May 2, 2007
  • Sourcecode for the Coho Light sample

    Read this blog post for details
    Posted to Code (FileGallery) by andersnoras on May 2, 2007
Powered by Community Server (Personal Edition), by Telligent Systems