Alex Lawrence

Software Developer and Technical Author

Books

Message- and Event-Driven Systems with CQRS and Event Sourcing: Web and Cloud Architecture

In today’s fast-paced digital landscape, businesses must adapt rapidly to evolving demands. Message- and Event-Driven Systems with CQRS and Event Sourcing reveals how modern message-driven web and cloud architectures can fuel digital transformation, drive agility, and ensure robust scalability. This book bridges the gap between theory and practice, empowering architects and developers to build systems that thrive in the cloud era.

This book demystifies a collection of widely discussed architectural patterns, clearly distinguishing between message-driven, event-driven, CQRS, and Event Sourcing approaches, and showing precisely when to apply each. By untangling concepts that are often confused, it provides both a strategic overview and practical guidance for designing a system and its components.

Unlike most resources that focus on Java or C#, this book leverages Node.js, JavaScript, and TypeScript, making it uniquely relevant for today’s web and cloud developers. Readers will discover how to isolate business capabilities, accelerate time-to-market, and future-proof their technology stack, enabling continuous evolution without sacrificing stability or performance.

Buy it on Amazon


Implementing DDD, CQRS and Event Sourcing

This book explains and illustrates how to implement Domain-Driven Design, Command Query Responsibility Segregation and Event Sourcing. The goal is to build software that is behavior-rich, event-based, problem-centric, reactive, scalable and well-designed.

Domain-Driven Design is a way to build software that focuses on the problem to solve and its associated knowledge areas. Command Query Responsibility Segregation separates a software into a write side and a read side. Event Sourcing is an architectural pattern that represents state as a sequence of immutable events.

The concepts are explained in theory and put into practice with standalone examples and a Sample Application. This is done without third-party software. The book comes with a source code bundle and supports interactive execution. All code is written in JavaScript and uses Node.js as runtime.

This book is not anymore available for sale.