Hi
Today I will explain little about Domain Driven Design.
What is Domain Driven Design?
Domain Driven Design is Designing any application model same as Domain and protecting that model with help of design patterns or any other application designing technique.
Protecting means Isolation of other aspects from Model.
e.g. Requirement as below.
Customer can add product in shopping cart.
Here Customer and Product is a main entity of Model and Add() product is the operation to be performed on the product. While designing application our DAL layer has operation to add product that can not be called from any Model component.
Model should contain not only business entity, it also contain association between business entity (Composition and Aggregation).
Why Domain Driven Design required? Or What is use of Domain Driven Design?
Domain Driven Design is useful to represent application business domain. Looking at Model you will easily understand the domain model.
What are steps to do Domain Driven Design?
Identify requirement.
Find business entities and relation between them.
Design class diagram for entities and relation between them.(Model Design)
Now most important step is protecting your Model, meaning, how do I attach DAL with my model without adding DAL reference to my Model.
I will explain How to start DDD in my next steps with help of example.....
Today I will explain little about Domain Driven Design.
What is Domain Driven Design?
Domain Driven Design is Designing any application model same as Domain and protecting that model with help of design patterns or any other application designing technique.
Protecting means Isolation of other aspects from Model.
e.g. Requirement as below.
Customer can add product in shopping cart.
Here Customer and Product is a main entity of Model and Add() product is the operation to be performed on the product. While designing application our DAL layer has operation to add product that can not be called from any Model component.
Model should contain not only business entity, it also contain association between business entity (Composition and Aggregation).
Why Domain Driven Design required? Or What is use of Domain Driven Design?
Domain Driven Design is useful to represent application business domain. Looking at Model you will easily understand the domain model.
What are steps to do Domain Driven Design?
Identify requirement.
Find business entities and relation between them.
Design class diagram for entities and relation between them.(Model Design)
Now most important step is protecting your Model, meaning, how do I attach DAL with my model without adding DAL reference to my Model.
I will explain How to start DDD in my next steps with help of example.....
No comments:
Post a Comment