Two flavors of DDD
I have been trying to practice domain driven design for the last few years.
During this time, I have learnt that there are almost as many ways to implement DDD as there are practitioners.
Composite Oriented Programming: QI4J running on .NET
For the last month I have been spending my spare time porting the awesome Java framework QI4J to .NET.
QI4J is the brain child of Rickard Öberg and Niclas Hedhman and it attempts to enable Composite Oriented Programming for the Java platform.
(For more info regarding Composite Oriented Programming see the QI4J website: http://www.qi4j.org/ )
Entity Framework 4 – Entity Dependency Injection
When dealing with a fat domain model, there is often a need to be able to inject different services into your entities.
e.g. you might want to inject some domain service like “ITaxCalcualtorService” or an infrastructure service like “IEmailNotificationService” into your entities.
Entity Framework 4 – “Almost” POCO
This is a short rant..
Entity Framework 4 – Using Eager Loading
When Linq To Sql was released we were told that it did support eager loading.
Which was a bit misleading, it did allow us to fetch the data we wanted upfront, but it did so by issuing one database query per object in the result set.
That is, one query per collection per object, which is a complete performance nightmare. (Ripple loading)
Entity Framework 4 – Managing inverse properties
[EDIT]
I was wrong!
Entity Framework 4 – First Impressions
I downloaded the VS 2010 beta1 today and started to dissect Entity Framework 4.
Entity Framework 4 – Immutable Value Objects
Ok, the title is not quire accurate, I’m not aware of any way to accomplish truly immutable types for Entity Framework.
Entity Framework 4 – Where Entity.Id in Array
Here is a little trick if you want to issue a query to the database and select a batch of entities by ID only: