By tag: DDD
0
kicks
IDDD Tour notes (2/2)
This is the second and last part of my notes I scribbled down attending the IDDD Tour.
0
kicks
IDDD Tour notes (1/2)
Two weeks ago I got to spend four days attending the IDDD Tour by Vaughn Vernon. Although my book queue has only allowed me to shallowly browse the book, I had high hopes for this course. I anticipated a week of getting lectured on DDD with a few practical exercises, but was blown away by the openne...
0
kicks
Modeling the four-eye principle
Working in a financial domain over the last year, it was only a matter of time before I would be confronted with one of the variations of the two-man rule: the four-eye principle. Satisfying the principle is simple enough; an extra pair of eyes needs to approve of requested changes before they're ap...
0
kicks
Designing entities: immutability first
The first year I wrote software for a living I spent my days mostly writing forms over data applications; most of my efforts were wasted just trying to make things work using ASP.NET and the Webforms engine. It was only after a year and graduating from the School of Hard Knocks that I learned there ...
0
kicks
Visual NHibernate beta
Visual NHibernate makes it easier and quicker to create and maintain NHibernate projects - even very complex ones. Point it at your existing projects and start modelling them right away - visually.
Visual NHibernate makes complex mapping to multiple database tables easy. Simply connect a mapping...
0
kicks
Wither the Repository
Looking at the different Repository pattern implementations, one thing really surprised me – how far off these implementations are from the original Fowler definition of the Repository. Instead, we see a transformation to the examples in the Evans description of Repository...
0
kicks
LINQ Expression Trees and the Specification Pattern
A very interesting article about DDD. David discusses implementing the Specification Pattern via LINQ's Expression type...
0
kicks
DDD & TDD using EF, Part 2.A Unit Testing Entities With Moq3
I had few previous posts about DDD & TDD with Entity Framework that you might need to return to them before you proceed with this post. To summarize these posts, I was trying to build testable Models that is based on EF. But EF doesn't support Persistence Ignorance in its first version which mak...
0
kicks
Implementing UnitOfWork Pattern In Linq To SQL Application
Implementing UnitOfWork Pattern In Linq To SQL Application
In my previous post, I have shown how to create Linq to Sql Repository which will have the maximum code coverage, In this post, I will show a simple UnitOfWork class which will flash the changes back to your database. I will be again use...
0
kicks
Domain Driven Design & Test Driven Design\Development with Entity Fram
decided to provide some integration testing before proceeding as a proof of concept. In integration testing I will connect to the database and perform unit testing while connecting to the database.\
This unit test is almost identical to the one in my previous post. Except here I am testing the r...
0
kicks
DDD: Download an eBook of the Series
Casey Charlton has collected all his article series on DDD in a single downloadable PDF file.
0
kicks
Domain Model (Developing KiGG v2.0 Part 1) - Kazi Manzur Rashid's Blog
As mention in my previous post that I will be discussing the technical side of **KiGG**. So this is the beginning and it will be a multi-part series. I will try to put as much detail as possible, do let me know if I missed anything.
Just for a recap, KiGG is Web 2.0 style social news application ...
0
kicks
DDD & TDD with Entity Framework, Part 1.a Refactoring & Unit Testing
In previous post I talked about building domain model for Northwind using Entity Framework. I used the generated ObjectContext class which is NorthwindDataContext as the basic Data Access Layer Helper. But my NorthwindDataContext is implementing custom interface I created in order to be able to make...
0
kicks
Domain Driven Design & Test Driven Design With Entity Framework, Part
In my previous post I talked about definitions of TDD as specified in different sources. Here in this post I'll walk-through applied Domain Driven Design & Test Driven Design on Entity Framework.
I assume that you already know Entity Framework and how to create your entity data modes using Vi...