Please log in to watch this conference skillscast.
CQRS applications brings some new challenges for statically typed language lovers since a considerable amount of the modeling effort goes to the definition of Commands and Events as separated entities without direct connection with the main domain model classes.
The biggest challenge is how to model a domain as an Algebraic Data Type where its operations are modeled as Commands and Events (themselves also ADTs) and have everything defined as a cohesive, well-typed domain.
This can be achieved in different ways: using type parameters, type members or type classes. Each solution has its Pros and Cons that you will explore and discuss in detail.
The Call for Papers is now open for Scala eXchange 2017! Submit your talk for the chance to join a stellar line-up of experts on stage. Find out more.
YOU MAY ALSO LIKE:
- Scala eXchange London 2019 (in London on 12th - 13th December 2019)
- Scalax2gether Community Day 2019 (in London on 14th December 2019)
- What Can Lagom Do For You? (SkillsCast recorded in December 2018)
- Leonardo De Marchi's Deep Learning Fundamentals (in London on 22nd - 23rd October 2019)
- Lightbend Akka for Scala - Professional (in London on 11th - 12th November 2019)
- Countdown to Big Data LDN (in London on 17th October 2019)
- Security in the Age of Big Data (Data Anonymisation & Encryption) (in London on 21st October 2019)
- Automating Elaborate-Transform-Load for Busy Data Scientists (SkillsCast recorded in October 2019)
- Abstract Data Types In The Region Of Abysmal Pain, And How To Navigate Them (SkillsCast recorded in September 2019)
Method reification and type-safety in a CQRS world - Intermediate
Renato is a software developer at Lightbend where he works in the Lagom Framework Team. Scala aficionado since 2009, he has been hacking in Scala and related technologies for fun and profit. He has a special interest for Event Sourcing/CQRS, DDD and Microservices Architectures. He's the founder of BeScala (Belgian Scala User Group) and maintainer of Lagom Framework.