Movatterモバイル変換


[0]ホーム

URL:


Uploaded bytatyaso
PPT, PDF420 views

Domain driven design

This document discusses the key concepts of domain-driven design (DDD), including ubiquitous language, bounded contexts, entities, value objects, aggregates, aggregate roots, persistence ignorance, repositories, and domain services. It explains that DDD takes a top-down approach, focusing on the domain model first before technical implementation. It emphasizes establishing a shared language between developers and business stakeholders and dividing large applications into independent bounded contexts to improve modularity.

Embed presentation

Downloaded 11 times
-Tatyaso Patil
 Understanding the Domain. Ubiquitous Language. Contexts and Bounded Contexts. Entities and Value Objects. Aggregates and Aggregate Roots. Persistence Ignorance. Repository. Domain Service.
 “Domain-driven design is not a technology or a methodology. DDDprovides a structure of practices and terminology for making designdecisions that focus and accelerate software projects dealing withcomplicated domains.”Traditional Approach-bottom to up approach. DDD-Top to Bottom approach
 developers and the business should share a common language. It is set in business terminology, not technical terminology. e.g. Constructing Building vs. Constructing Residential building
 It is a miniature application, containing it’s own Domain, own codeand persistence mechanisms. Bounded Context should be independent of any other BoundedContext. Dividing a large application among different bounded contextsproperly will allow you to make your application more modular bounded contexts of residential:◦ Electricity supply◦ Car parking◦ Apartment 
 Objects who has Identity is Entity. it is unique within the system. e.g. Your bed room in the apartment.
 it has no Identity. e.g. An order note can only exist if an order is placed. Windows in the rooms. A question detail can only be there if a question is asked.
 An Aggregate is a group of associated objects which are consideredas one unit with regard to data changes. Aggregates draw a boundary around one or more Entities Aggregate root is an Entity, and it is the only object accessible fromoutside. E.g. Room, Order and Question are our aggregate roots.  window, order note and question detail are our aggregates.
 In domain driven design your objective is to create a model of thedomain   identify what are the items (objects) you need to accomplish thedesired functionalities of your application. You do not need to know how and where the data of your domainwill persist .
 repository will be responsible to store your data and to retrieve yourdata  Repository Mediates between the domain and data mapping . Rpository doesn’t talk in terms of “data”, it talks in terms ofAggregate Roots.
 Services act as interfaces which provide operations. Domain Services are usually built on top ofdomain Entities and Values providing required functionalitydirectly related to those objects. If Entities and Value Objects are the “things” in your domain, theservices are a way of dealing with actions, operations andactivities.  domain services as façade layer of the business logics andoperations of your domain.
Domain driven design
Domain driven design

Recommended

PPTX
Domain Driven Design
PPTX
Advanced SQL
PPT
How data standards can help you streamline your business
PPTX
Matter Centricity 101
PDF
Enhancing ai with data annotations
PPT
Doc Book Vs Dita Teresa
byday
 
PDF
Creative Commons GNU/Linux NYC Meetup
DOCX
Report web authoring Unit 11
PDF
Access Travels_Business Plan
PPT
BELOUSOV ZHABOTINSKI REACTION
 
DOC
amir cv
PDF
Mosaic Cognitive Evolution: The case of imitation learning
PPTX
Nationalism in india
PPTX
Historia del automovil
PPT
Presentación de Mirra
PDF
Becoming a high-fidelity--Super--Imitator: What are the contributions of soci...
PPT
Present simple tense
PPTX
Prototype lpg turbo jet engine
PPS
Africa negra
PPTX
PPTX
Mi Desfile De Moda
 
PPT
Schwerpunktmodul 6e
PPT
Singapur i hong kong
PPT
Quieres ser feliz
PPT
Mejorando
PPT
Normalización iago
PPTX
Comunicacion y archivo
PDF
Domain Driven Design
PDF
D2 domain driven-design

More Related Content

PPTX
Domain Driven Design
PPTX
Advanced SQL
PPT
How data standards can help you streamline your business
PPTX
Matter Centricity 101
PDF
Enhancing ai with data annotations
PPT
Doc Book Vs Dita Teresa
byday
 
PDF
Creative Commons GNU/Linux NYC Meetup
DOCX
Report web authoring Unit 11
Domain Driven Design
Advanced SQL
How data standards can help you streamline your business
Matter Centricity 101
Enhancing ai with data annotations
Doc Book Vs Dita Teresa
byday
 
Creative Commons GNU/Linux NYC Meetup
Report web authoring Unit 11

Viewers also liked

PDF
Access Travels_Business Plan
PPT
BELOUSOV ZHABOTINSKI REACTION
 
DOC
amir cv
PDF
Mosaic Cognitive Evolution: The case of imitation learning
PPTX
Nationalism in india
PPTX
Historia del automovil
PPT
Presentación de Mirra
PDF
Becoming a high-fidelity--Super--Imitator: What are the contributions of soci...
PPT
Present simple tense
PPTX
Prototype lpg turbo jet engine
PPS
Africa negra
PPTX
PPTX
Mi Desfile De Moda
 
PPT
Schwerpunktmodul 6e
PPT
Singapur i hong kong
PPT
Quieres ser feliz
PPT
Mejorando
PPT
Normalización iago
PPTX
Comunicacion y archivo
Access Travels_Business Plan
BELOUSOV ZHABOTINSKI REACTION
 
amir cv
Mosaic Cognitive Evolution: The case of imitation learning
Nationalism in india
Historia del automovil
Presentación de Mirra
Becoming a high-fidelity--Super--Imitator: What are the contributions of soci...
Present simple tense
Prototype lpg turbo jet engine
Africa negra
Mi Desfile De Moda
 
Schwerpunktmodul 6e
Singapur i hong kong
Quieres ser feliz
Mejorando
Normalización iago
Comunicacion y archivo

Similar to Domain driven design

PDF
Domain Driven Design
PDF
D2 domain driven-design
PPTX
Domain Driven Design
PPTX
Domain Driven Design
PPT
Domain Driven Design (DDD)
PPTX
Domain Driven Design
PDF
ddd.pdf
PDF
Domain driven design and model driven development
PPTX
Seminar - Scalable Enterprise Application Development Using DDD and CQRS
PPTX
.NET Fest 2019. Halil Ibrahim Kalkan. Implementing Domain Driven Design
PDF
Introduction to Domain driven design
PPTX
Domain driven design
PPTX
Domain Driven Design
PDF
Domain-Driven Design
PPTX
Introduction to DDD
PDF
Modelling a complex domain with Domain-Driven Design
PDF
2011-05-22 Domain Driven Design
PDF
2011-05-22 Domain Driven Design
PDF
Domain driven design: a gentle introduction
PDF
Domain Driven Design
Domain Driven Design
D2 domain driven-design
Domain Driven Design
Domain Driven Design
Domain Driven Design (DDD)
Domain Driven Design
ddd.pdf
Domain driven design and model driven development
Seminar - Scalable Enterprise Application Development Using DDD and CQRS
.NET Fest 2019. Halil Ibrahim Kalkan. Implementing Domain Driven Design
Introduction to Domain driven design
Domain driven design
Domain Driven Design
Domain-Driven Design
Introduction to DDD
Modelling a complex domain with Domain-Driven Design
2011-05-22 Domain Driven Design
2011-05-22 Domain Driven Design
Domain driven design: a gentle introduction
Domain Driven Design

Recently uploaded

PDF
A Visual Dictionary Of ArchitectureS.pdf
PDF
Web-Exploit-Hunting-and-Bug-Bounty-Virtual-Internship.pdf
PPT
present-simple-vs-present-continuous-worksheet-templates-layouts_46216.ppt
PDF
Manual de identidad gráfica de Finlandia
PDF
Cranial Nerve 8, 9/ Cranial Nerve 8, 9.pdf
PDF
Blood Supply and lymphatics of CNS / Blood Supply and lymphatics of CNS.pdf
PPTX
washcommitteestraining-240517173407-d1ffc827.pptx
PDF
One Sheet (for speaking, interviews, & press)
PDF
Cerebrum/ Cerebrum/ Cerebrum/ Cerebrum.pdf
PDF
HUE ROYAL MUSIC nha nhac cung dinh hue pptx
PPT
IRRATIOe gergerwgev hlikbterf ewrerwgerwgNAL 2.ppt
PDF
cyber securityaaaaaaaaaaaaaaaaaaaaaaaaaaa
PPTX
Science6-Quarter3-Week3-Day3-and4- Heat-and-Light-Energy.pptx
PDF
Souyri Minha - Floreal / Master Projet
PPTX
Visual Research and Development Inspiration Fashion.pptx
PPTX
Brown Orange Cute Illustrative Project Presentation_20250525_111620_0000-1 (1...
PPTX
THE SANCTUARY OF FAITH is Roman Cathlic Mosantery
PDF
elements and their nutrients-14-00644.pdf
PDF
VDD324 - History of Gaming Design - Week 6-8- Fall 2025.pdf
PDF
MGV Articles & Publications.pdf Various publications featuring furniture lines.
A Visual Dictionary Of ArchitectureS.pdf
Web-Exploit-Hunting-and-Bug-Bounty-Virtual-Internship.pdf
present-simple-vs-present-continuous-worksheet-templates-layouts_46216.ppt
Manual de identidad gráfica de Finlandia
Cranial Nerve 8, 9/ Cranial Nerve 8, 9.pdf
Blood Supply and lymphatics of CNS / Blood Supply and lymphatics of CNS.pdf
washcommitteestraining-240517173407-d1ffc827.pptx
One Sheet (for speaking, interviews, & press)
Cerebrum/ Cerebrum/ Cerebrum/ Cerebrum.pdf
HUE ROYAL MUSIC nha nhac cung dinh hue pptx
IRRATIOe gergerwgev hlikbterf ewrerwgerwgNAL 2.ppt
cyber securityaaaaaaaaaaaaaaaaaaaaaaaaaaa
Science6-Quarter3-Week3-Day3-and4- Heat-and-Light-Energy.pptx
Souyri Minha - Floreal / Master Projet
Visual Research and Development Inspiration Fashion.pptx
Brown Orange Cute Illustrative Project Presentation_20250525_111620_0000-1 (1...
THE SANCTUARY OF FAITH is Roman Cathlic Mosantery
elements and their nutrients-14-00644.pdf
VDD324 - History of Gaming Design - Week 6-8- Fall 2025.pdf
MGV Articles & Publications.pdf Various publications featuring furniture lines.

Domain driven design

  • 1.
  • 2.
     Understanding theDomain. Ubiquitous Language. Contexts and Bounded Contexts. Entities and Value Objects. Aggregates and Aggregate Roots. Persistence Ignorance. Repository. Domain Service.
  • 3.
     “Domain-driven designis not a technology or a methodology. DDDprovides a structure of practices and terminology for making designdecisions that focus and accelerate software projects dealing withcomplicated domains.”Traditional Approach-bottom to up approach. DDD-Top to Bottom approach
  • 4.
     developers andthe business should share a common language. It is set in business terminology, not technical terminology. e.g. Constructing Building vs. Constructing Residential building
  • 5.
     It isa miniature application, containing it’s own Domain, own codeand persistence mechanisms. Bounded Context should be independent of any other BoundedContext. Dividing a large application among different bounded contextsproperly will allow you to make your application more modular bounded contexts of residential:◦ Electricity supply◦ Car parking◦ Apartment 
  • 6.
     Objects whohas Identity is Entity. it is unique within the system. e.g. Your bed room in the apartment.
  • 7.
     it hasno Identity. e.g. An order note can only exist if an order is placed. Windows in the rooms. A question detail can only be there if a question is asked.
  • 8.
     An Aggregateis a group of associated objects which are consideredas one unit with regard to data changes. Aggregates draw a boundary around one or more Entities Aggregate root is an Entity, and it is the only object accessible fromoutside. E.g. Room, Order and Question are our aggregate roots.  window, order note and question detail are our aggregates.
  • 9.
     In domaindriven design your objective is to create a model of thedomain   identify what are the items (objects) you need to accomplish thedesired functionalities of your application. You do not need to know how and where the data of your domainwill persist .
  • 10.
     repository willbe responsible to store your data and to retrieve yourdata  Repository Mediates between the domain and data mapping . Rpository doesn’t talk in terms of “data”, it talks in terms ofAggregate Roots.
  • 11.
     Services actas interfaces which provide operations. Domain Services are usually built on top ofdomain Entities and Values providing required functionalitydirectly related to those objects. If Entities and Value Objects are the “things” in your domain, theservices are a way of dealing with actions, operations andactivities.  domain services as façade layer of the business logics andoperations of your domain.

[8]ページ先頭

©2009-2025 Movatter.jp