This is the repository for Temporal Patterns hands-on lab at DDD Europe 2023. This repository contains all the necessary materials and code examples to enhance your learning experience during the workshop.
Title: Temporal Patterns
Event: DDD Europe 2023 - Amsterdam
Duration: 2 Hours
Link to the workshop
Many systems need to track and keep records of changes to data. It's not just about audit logs, but the ability to travel back in time and actually use the data. For example, you can use it to analyze and predict future events, run what-if scenarios for the past, or use it in the model for solving time-oriented problems.
When dealing with these kinds of problems, event sourcing is one of the first things that comes to mind. But not all systems are using event sourcing, or are not willing to do so. Keeping track of state changes and using them when needed is what temporal patterns are all about.
The purpose of this workshop is to demonstrate how we can keep track of changes in our model by using temporal patterns. There will be different patterns discussed depending on the situation, such as whether the change is concerning a single property or an entire object.
Note: We will primarily focus on temporal patterns in object-oriented languages. Even though functional languages can be used to implement these concepts, this workshop does not cover them.
In this repository, you will find the following materials and resources:
- Presentation Slides.
- Code Examples.
- Resources for further reading
[ Soon ]