Functional and Reactive Domain Modeling
- Exclusive ContentScan the cover in the app
- CommunityDiscuss & Share
About this book
Understanding what a software system must accomplish is often the hardest part of building it. A domain model addresses this by mapping the problem space, whether that is a company's operations or a scientific tool, so developers can write code with less wasted effort. Such a model does not propose answers. It records the entities, their attributes and roles, how they connect, and the rules the system must obey.
Reactive application design combines functional programming ideas with asynchronous, non-blocking communication to produce systems that are fast and easier to operate, change and extend. These systems respond more readily both to what users ask for and to changes in load. Building them calls for a different mindset. Since the core logic is made of pure functions, the model can be reasoned about with mathematical precision, which makes it easier to verify and more resilient.
The book begins with functional programming fundamentals and moves step by step toward the advanced techniques needed for complex domain models. It shows how algebraic data types, typeclass-based design, and keeping side effects isolated let a model be composed in ways that improve both readability and verifiability.
On the reactive side, the author concentrates on higher-order concurrency through actors and futures, using the Akka framework as the reference implementation. It covers event sourcing and CQRS as ways to build scalable models, and contrasts these approaches with conventional relational database applications that update records in place. Readers also see how asynchronous messaging supports interaction, and how persisting the model in memory can combine fast processing with dependable reliability.
Reader reviews
No reviews yet. Share your thoughts on this book in the Appilog app.
Book Details
- ISBN
- 9781617292248
- Author
- Debasish Ghosh
- Publisher
- Manning Publications Co. LLC
- Genres
- Technology & Computing
Media & Extras
This book has 0 videos that play on its cover. Scan the cover with the Appilog app to watch.
Get the app

