SAVE THE DATE: November 24–27, SAG 2025 in Berlin

Conference program

iSAQB Software Architecture Gathering 2024

Register now

  • Half-Day Workshop (3h)
  • Intermediate
  • 28 Nov 2023
  • 13:30-17:00
  • Room 2

The Little Pattern That Could – Leveraging the Power of Repositories

by Tobias Goeschel

The Repository pattern is one of the oldest and most well-known patterns in software architecture. It is simple, elegant, and easy to grasp – or is it? There are actually many versions of this pattern, some in books, some implemented in frameworks, which all look similar, but differ greatly, both in usage and outcome.

This workshop will (re-)introduce the Repository pattern as intended in Domain Driven Design: An elegant way of keeping persistence and domain logic decoupled, improving testability, and creating options for evolutionary development.

We will use a variation of ensemble programming to explore different applications of the pattern together, discuss pros and cons, and refactor an existing code base to see the resulting effects.

All skill levels are welcome – we will work as a group and help each other out. You don’t need to set up your laptop – we will use the facilitator’s machine to navigate. The source code and instructions will be shared with you after the event.