Category Archives: Enterprise Application Patterns

Unit of Work

  According to Martin Fowler “Maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.” Unit of work is one of the most used patterns defined in Patterns of Enterprise Application Architecture (PoEAA). It maintains a list of business objects in memory… Read More »

Repository Pattern

In Martin Fowler’s Patterns of Enterprise Application Architecture (PoEAA) defined Repository pattern as follows: “Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects.”  We can explain it as follows: The repository mediates between the data source layer and the business layers of the application. It queries the data… Read More »