• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Domain Driven Design fundamentals
 

Domain Driven Design fundamentals

on

  • 4,901 views

 

Statistics

Views

Total Views
4,901
Views on SlideShare
4,833
Embed Views
68

Actions

Likes
3
Downloads
173
Comments
0

5 Embeds 68

http://born2code.net 28
http://www.slideshare.net 23
http://www.linkedin.com 12
http://www.born2code.net 4
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Domain Driven Design fundamentals Domain Driven Design fundamentals Presentation Transcript

    • quot;Everything
should
be
made
 as
simple
as
possible,
 but
not
simpler.quot;
 Albert Einstein
    • Chaos
    • Order
    • Focus
    • Create a world
    • with laws
    • Be aware of the environment
    • Basic types for the world
    • Value objects
    • Value objects • Represents a value • No identity • immutable • Equality by value
    • good example
    • ...or not
    • All the same
    • Entities Meet Bob
    • Hi, my name is Bob
    • I'm 32 years old
    • ...and I'm a starshiptrooper
    • Meet bob
    • Hi, my name is Bob too
    • I'm also 32 years old
    • ...and also a starshiptrooper
    • Identity
    • Identity • Combination of properties • Personal number
    • Aggregate Root
    • Domain Model by Example
    • Student
    • Student Class
    • Student Teacher Class
    • Mayor Address Student Teacher Class
    • Mayor Address Student Teacher Class Location Material
    • Mayor Address Student Teacher Class Schema Payroll Location Material
    • Mayor Address Student Teacher Class Schema Payroll Location Material
    • Mayor Address Student Teacher Class Schema Payroll Location Material
    • Mayor Address Student Teacher Class Schema Payroll Location Material
    • Mayor Address Student Teacher Class Schema Payroll Location Material
    • Validation
    • Validation •  Validatable objects •  !invariant object
    • Validatable object •  Default ctor •  Supported by a lot of frameworks •  Flexible •  Naive
    • !Invariant object •  No default ctor, most of the time •  Nonflexible •  Strict!
    • distortion
    • Active-Passive
    • Repositories
    • Storage
    • Services Tight, small and focused
    • Service layer?
    • Service layers are c00l •  Support multiple application •  Your domain is in the center of the world •  Huge enviroments •  Read DTO's •  Write command
    • Service layers are bad, mkay •  Domain logic is boxed •  Logic duplication •  No direct feedback •  Databinding support!
    • Bootstrapping
    • Overview
    • Domain
    • DB Domain
    • DB UI Domain
    • Service DB Storage UI Domain
    • Service DB Storage UI Domain Logging
    • Service DB Storage Service UI Domain bus Logging
    • Service DB Storage Service UI Domain bus Logging
    • Service DB Storage UI UI Service model Domain bus Beheer Logging
    • Service DB Storage UI UI Service model WCF Domain bus Beheer Logging
    • Inversion of control You only want beer
    • Learn more
    • DISCUSSION
    • You were great! Really, I already knew it when creating this slide