Browse by Tags

More on generics and Inversion of Control
06 April 08 09:29 PM | andersnoras | 4 Comments   
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 Read More...
Filed under: , ,
Generics, Inversion of Control and Repository<T>
03 April 08 07:32 AM | andersnoras | 6 Comments   
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 Read More...
Is it a bird? Is it a plane? It's a DSL!
15 July 07 06:11 AM | andersnoras | 7 Comments   
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 Read More...
Filed under: , , , ,
Behind the scenes of the planning DSL
09 July 07 10:54 PM | andersnoras | 29 Comments   
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 Read More...
Filed under: , ,
I'm coming down with a serious case of the DSLs!
04 July 07 08:28 PM | andersnoras | 10 Comments   
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 Read More...
Filed under: , ,
IPoco?
03 July 07 04:52 AM | andersnoras | 3 Comments   
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 Read More...
Filed under: , ,
Source code for the Coho Light sample
01 May 07 06:57 PM | andersnoras | 1 Comments   
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 Read More...