October 2008 Entries

The Repository Pattern

Introduction When accessing data from a data source we have several well documented possibilities. Martin Fowler e.g. describes several of them in his PoEAA book. Table data gateway Row data gateway Active record Data mapper When applying DDD (domain driven design) we often use the so called Repository Pattern to access the data needed by the domain model. What is a Repository Martin Fowler writes: "A Repository mediates between the domain and data mapping layers,...

posted @ Wednesday, October 08, 2008 1:42 AM | Feedback (1446)