COURSE

FullStack Event Sourcing and Applied DDD with Roman Sachse

Topics covered at FULLSTACK-ES-RS-03
View Schedule & Book More dates available

Next up:

  • 23rd - 25th September 2020, Online Course, delivered by Roman Sachse

Overview

Are you looking for an entry point to Event Sourcing and CQRS? In this workshop, Roman Sachse takes a DIY approach to Event Sourcing — offering you a unique chance to learn to build a FullStack Event Sourced application that spans the backend and the frontend.

FullStack Event Sources and Applied DDD with Roman Sachse

Domain Driven Design is a way of thinking about the needs of the customers first and putting an emphasis on their language and interactions. A semantic domain model that is shared between business stakeholders and developers benefits everyone. Tightly connected to DDD are architectural patterns like Event Sourcing and CQRS because they allow domain models to be expressive, understandable, and scalable at the same time.

The problem is that they are quite different from traditional ways of writing software and it is not always perfectly clear where to start. Everything sounds quite complicated and there are many new concepts to learn. Do you need to use one of the available frameworks? Do you really need solutions for problems that you might never encounter?

In this workshop, I want to take you on a journey that will enable you to build your own CQRS and Event-Sourced system. Together we will define the requirements, and I am going to provide you with ideas and approaches to fulfill those requirements. We will be discussing and tackling the problems that arise in these systems first-hand and tailor the solutions to our applications specific needs.


FullStack Event Sources and Applied DDD with Roman Sachse

Event Sourcing, CQRS and their benefits are mostly applied to the backend of applications, but a semantic domain model also benefits the UI. Unfortunately, these semantics are often lost in translation when transferred to the frontend. In the second part of this workshop I will show you a functional approach that allows you to actually reuse your domain types, your read-models and even your domain logic from the backend on the frontend. This is possible by combining CQRS/Event-Sourcing with an expressive frontend using the MVU pattern by applying an overall messaging architecture. With the help of this architecture it becomes possible to build eventually connected systems or even "What-If" scenarios on the frontend with ease.

The language in use will be F# because its pragmatic functional first architecture is are a perfect fit for these kinds of architectures, but the concepts should transfer to other languages easily. In case you have never worked with F# we will start the workshop with an introduction to the language that will cover all the concepts you need to follow along. The workshop will introduce all the theoretical concepts you need but it puts a strong emphasis on practical exercises. These will be done either in small teams or with the whole group as a mob programming experience.





Online Learning at Skills Matter

This course will be offered virtually over 3 full day sessions.

Since 2013 Skills Matter has been offering unparalleled training led by the creators and innovators behind cutting-edge technologies and methodologies. In this unprecedented time, we’ve moved out of the classroom to offer online training for the remainder of 2020.

Our virtual courses offer the same expert-led, hands-on experience as always — only now we’re making it accessible around the globe from the comfort of your own home (office).




Learn how to:


Understand the basic usage of F# and follow the rest of the workshop

Understand the most important concepts and challenges in Event Sourcing and CQRS and be able to start implementing an Event Sourced application independently

Learn and understand how to build a frontend that integrates nicely into an Event Sourced application

About the Author

Roman Sachse

Learner <> Father <> Teacher. Roman Sachse started programming 19 years ago rather by accident shortly after founding his first company when he realized how much fun it was building the stuff he was working on by himself. This set him out on a lifelong journey of learning everything about software development and computer science and he was particularly surprised to realize that this branch of science strongly depends on two fields he was always interested in: people and communication. Roman is a proud father of three year old twin girls, holds a bachelors degree in Cognitive Science and a Masters degree in Computer Science and is currently mainly interested in Domain Driven Design, Functional Programming and the inner workings of software development teams.

Programme


F# Introduction

  • Introduction to F# syntax and uses
  • Functional thinking
  • Getting rid of null with Options and Result
  • Algebraic Data Types

Event Sourcing / CQRS - Do it yourself

  • Putting the Behavior first (Build behavior / Domain Model)
  • Testing Event Sourced applications with BDD-style tests
  • Building an Event Store (in memory and persistent)
  • Building Event Listeners, Command Handlers and Query Handlers
  • Understanding and building Projections
  • Build read-models (in-memory and persistent)
  • Creating a CQN Port

Domain Driven UI

  • Introduction to Fable (F# → Javascript-Transpiler )
  • Introduction to the Elm-Architecture/MVU with Fable.Elmish
  • Asynchronous Operations and Commands
  • Modelling the state of the application
  • Using Read-models of the backend as the source of truth for MVU applications
  • Making use of available libraries like Fable.Remoting
  • Implementing What-If scenarios
FullStack Event Sources and Applied DDD with Roman Sachse

Audience

Audience


The workshop is intended for software developers that want to learn how to create Event Sourced applications. Experience in any functional programming language is helpful but not necessary.

FullStack Event Sourcing    with Roman Sachse



Prerequisites