Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Domain-Driven Refactoring
  • Table Of Contents Toc
  • Feedback & Rating feedback
Domain-Driven Refactoring

Domain-Driven Refactoring

By : Alessandro Colla, Alberto Acerbis
5 (2)
close
close
Domain-Driven Refactoring

Domain-Driven Refactoring

5 (2)
By: Alessandro Colla, Alberto Acerbis

Overview of this book

As software development continues to grow, mastering domain-driven design (DDD) will help transform your approach to complex systems. Filled with actionable insights and practical examples, this book is your essential guide to implementing DDD principles, covering its key concepts and practical applications in modern architecture. Alessandro, an eCommerce specialist and DDD expert with 30 years of experience, and Alberto, a dedicated backend developer, tap into their extensive expertise to help you refactor your monolith into a modular structure, whether it be evolving into microservices or enhancing a maintainable monolith, resulting in a system that adapts to changing business needs and non-functional requirements. You’ll explore vital DDD patterns like strategic design with bounded contexts and ubiquitous language, improving communication between technical and domain experts. The chapters take you through modeling techniques to manage complexity and increase flexibility, while also addressing microservices integration, including inter-service communication, transaction management, and data strategies. By the end of this book, you’ll be able to decompose a monolith and refine its architecture for adaptability, all while ensuring business logic remains central to your software design and development.
Table of Contents (18 chapters)
close
close
Lock Free Chapter
1
Part 1: Why Use Domain-Driven Design to Tackle Complexity?
6
Part 2: Refactoring Legacy Systems
12
Part 3: Moving from Monolith to Microservices
16
Other Books You May Enjoy
17
Index

Event versioning strategies

Now that you understand how events can evolve over time, let’s explore how to manage this evolution effectively. There are several strategies to handle event versioning, each with its own advantages and drawbacks. Before diving into specific solutions, let’s review some fundamental principles that are crucial when working with events:

  • Immutability: Events are immutable records of occurrences in the past. Once an event is published, it cannot be altered or removed without compromising the integrity of your system’s history. Instead of modifying an event, you should publish a compensating or corrective event to address any required changes.
  • Event handlers: After an event is in production, any changes to its structure or meaning must be managed with caution. If you modify an event or its corresponding handlers, you must consider the impact on historical data. During an event replay, old events will retain their original...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Domain-Driven Refactoring
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon