English | 2016 | ISBN: 1617292248 | 325 Pages | True PDF, EPUB | 20 MB
Traditional distributed applications won’t cut it in the reactive world of microservices, fast data, and sensor networks. To capture their dynamic relationships and dependencies, these systems require a different approach to domain modeling. A domain model composed of pure functions is a more natural way of representing a process in a reactive system, and it maps directly onto technologies and patterns like Akka, CQRS, and event sourcing.
Functional and Reactive Domain Modeling teaches you consistent, repeatable techniques for building domain models in reactive systems. This book reviews the relevant concepts of FP and reactive architectures and then methodically introduces this new approach to domain modeling. As you read, you’ll learn where and how to apply it, even if your systems aren’t purely reactive or functional. An expert blend of theory and practice, this book presents strong examples you’ll return to again and again as you apply these principles to your own projects.
- Real-world libraries and frameworks
- Establish meaningful reliability guarantees
- Isolate domain logic from side effects
- Introduction to reactive design patterns
Readers should be comfortable with functional programming and traditional domain modeling. Examples use the Scala language.