Implementing DDD, CQRS and Event Sourcing in Node.js
Implementing DDD, CQRS and Event Sourcing in Node.js
Implementing DDD, CQRS and Event Sourcing in Node.js

This book is 70% complete

Last updated on 2018-11-21

About the Book

This book explains and illustrates how to implement Domain Driven Design, Command Query Responsibility Segregation and Event Sourcing in Node.js. The reader is taught to build software that is problem centered, expressive, well designed, scalable and reactive. Domain Driven Design (DDD) is a methodology that focuses on the actual problem to solve and its involved knowledge areas. Command Query Responsibility Segregation (CQRS) promotes the separation of an application into a read side and a write side. Event Sourcing is an architectural style that centers around the idea of representing state as a series of immutable events. These three concepts are described in detail and put into practice with standalone examples and a fully functional sample application. The code is written in JavaScript and uses Node.js as runtime.

About the Author

Alex Lawrence
Alex Lawrence

Around the age of 10, I experimented with BASIC on a C64. Later, on a DOS-PC, I modified QBASIC examples and programmed in Turbo Pascal. Also, I tried learning C++ but lost interest. Many years later, I studied Informatics to learn the theory and different programming languages. My first job introduced me to further concepts, including CQRS and Event Sourcing. At some point, I quit and became a freelancer. Simultaneously, I launched a mouse tracking service which naturally applied Event Sourcing. Also, I joined a startup developing a collaborative application with technical focus on DDD, CQRS, Event Sourcing and Node.js. There, I could deep-dive into theory and apply everything practically. Today, I work in different fields, including architecture, automation, backend, frontend, operations, testing and lecturing.

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub