Overview
Explore domain-driven refactoring techniques in this conference talk from NDC Oslo 2020. Learn how to transform anemic, procedural code into a more cohesive design using domain-driven principles. Discover methods for identifying code smells, applying appropriate design patterns, and safely refactoring existing applications. Gain insights into moving legacy code towards an idealized domain model, understanding when to implement specific patterns, and achieving a balance between current code and domain-driven model aspirations. Follow along with practical examples and code walkthroughs, including topics such as mediator patterns, offer value calculators, expiration types, and assignment logic.
Syllabus
Introduction
What is DomainDriven Design
Domain Model
The Problem
Test Urban Design
Refactoring
Books
Current State
Where is the behavior
Mediator
Code Walkthrough
Reverse Refactoring
OfferValue Calculator
Expiration Type
Assignment and Fixed Expiration Types
Abstract Methods
Assign Offer Method
Assign Offer Logic
Taught by
NDC Conferences