Feb
02
2009
Ever since I read the Domain Driven Design book by Eric Evans I have been wondering a bit about the Repository pattern. Especially the part where a domain object can communicate with a repository. In most Java systems today you will have Hibernate with lazy loading which enables you to think in domain objects, but [...]
Tags: domain driven design, pattern
Jan
17
2009
Reuse is good. That’s what we learn, so we all strive to reuse code, but sadly sometimes we over generalize and try to be too clever. I have had the suspicion that creating generic repositories that takes criteria/queries as input parameters is one such over generalization. Some things, in fact a lot of things, are [...]
Tags: database, design, domain driven design
Nov
14
2007
When I first read Domain Driven Design the role of a Repository was one of the things that were a bit hard to grasp. I really don’t think I have a clear vision of it still, but Fabio Kung has a post that clarifies some of the questions. It was written as a response to [...]
Tags: domain driven design