How Domain-Driven Design helps you to migrate into the future
1. How Domain-Driven
Design Helps You to
Migrate Into the Future
Karsten Dambekalns <karsten@typo3.org>
Inspiring people to
share
Dienstag, 5. Oktober 2010
2. Code Data
Mind
Inspiring people to
share
Dienstag, 5. Oktober 2010
3. Migrate Your Mind
Inspiring people to
share
Dienstag, 5. Oktober 2010
4. Migrate Your Mind
Get rid of old habits
• No more quick’n’dirty fixes
• No longer think in “tables”
Embrace new paradigms
• Start using Test-Driven Development
• Practice Domain-Driven Design
• Get up to speed with Design Patterns
Inspiring people to
share
Dienstag, 5. Oktober 2010
5. Literature
Domain-Driven Design
Eric Evans, Addison-Wesley
Applying Domain-Driven Design and Patterns
Jimmy Nilsson, Addison-Wesley
Patterns of Enterprise Application Architecture
Martin Fowler, Addison-Wesley
Inspiring people to
share
Dienstag, 5. Oktober 2010
6. Migrate Your Code
Inspiring people to
share
Dienstag, 5. Oktober 2010
7. Migrate Your Code
That is actually the easy part, if you
migrated your mind early
You mostly need to throw away old cruft
Rename and replace are important
operations
Then adjust controllers and repositories
as needed
Inspiring people to
share
Dienstag, 5. Oktober 2010
8. Migrate Your Data
Inspiring people to
share
Dienstag, 5. Oktober 2010
9. Migrate Your Data
Regular content will be easy to migrate using
out-of-the-box tools
• That includes website content, users, files, ...
Custom content migration will be supported but
depends on custom additions
• Target system needs to understand the data
• Migration rules need to be implemented
Inspiring people to
share
Dienstag, 5. Oktober 2010
10. Questions!
Inspiring people to
share
Dienstag, 5. Oktober 2010
11. Give feedback at
http://joind.in/1677
Follow me on
http://twitter.com/k_fish
Inspiring people to
share
Dienstag, 5. Oktober 2010