Book description
Functional and Reactive Domain Modeling teaches you how to think of the domain model in terms of pure functions and how to compose them to build larger abstractions.
About the Technology
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.
About the Book
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.
What's Inside
- Real-world libraries and frameworks
- Establish meaningful reliability guarantees
- Isolate domain logic from side effects
- Introduction to reactive design patterns
About the Reader
Readers should be comfortable with functional programming and traditional domain modeling. Examples use the Scala language.
About the Author
Software architect Debasish Ghosh was an early adopter of reactive design using Scala and Akka. He's the author of DSLs in Action, published by Manning in 2010.
Quotes
Brings together three different tools—domain-driven design, functional programming, and reactive principles—in a practical way.
- From the Foreword by Jonas Bonér, Creator of Akka
A modern approach to implementing domain-driven design.
- Barry Alexander, Gap
Debasish confirms his ability to expose DDD practices in a clear way.
- Cosimo Attanasi, ER Sistemi
Offers a unique perspective on DDD and FP.
- Rintcius Blok, Cake Solutions
A classic in modern software design techniques.
- William Wheeler, Java/Scala/Akka developer
Publisher resources
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Author
- Chapter 1. Functional domain modeling: an introduction
- Chapter 2. Scala for functional domain models
- Chapter 3. Designing functional domain models
- Chapter 4. Functional patterns for domain models
- Chapter 5. Modularization of domain models
- Chapter 6. Being reactive
- Chapter 7. Modeling with reactive streams
- Chapter 8. Reactive persistence and event sourcing
- Chapter 9. Testing your domain model
- Chapter 10. Summary—core thoughts and principles
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Functional and Reactive Domain Modeling
- Author(s):
- Release date: October 2016
- Publisher(s): Manning Publications
- ISBN: 9781617292248
You might also like
book
Domain Modeling Made Functional
You want increased customer satisfaction, faster development cycles, and less wasted work. Domain-driven design (DDD) combined …
book
gRPC: Up and Running
Get a comprehensive understanding of gRPC fundamentals through real-world examples. With this practical guide, you’ll learn …
book
Spring Microservices in Action, Second Edition
By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity …
book
GraphQL in Action
Reduce bandwidth demands on your APIs by getting only the results you need—all in a single …