Domain-Driven Design: Tackling Complexity in the Heart of Software


Chapter Seven. Using the Language: An



Download 7,21 Mb.
Pdf ko'rish
bet106/343
Sana17.11.2022
Hajmi7,21 Mb.
#867526
1   ...   102   103   104   105   106   107   108   109   ...   343
Bog'liq
Eric Evans 2003 - Domain-Driven Design - Tackling Complexity in the Heart of Software

Chapter Seven. Using the Language: An
Extended Example
The preceding three chapters introduced a pattern language for honing the fine detail of a model
and maintaining a tight 
MODEL-DRIVEN DESIGN
. In the earlier examples, the patterns were mostly
applied one at a time, but on a real project you have to combine them. This chapter presents one
elaborate example (still drastically simpler than a real project, of course). The example will step
through a succession of model and design refinements as a hypothetical team deals with
requirements and implementation issues and develops a 
MODEL-DRIVEN DESIGN
, showing the forces
that apply and how the patterns of Part II can resolve them.
[ Team LiB ]


[ Team LiB ]
Introducing the Cargo Shipping System
We're developing new software for a cargo shipping company. The initial requirements are three
basic functions.
Track key handling of customer cargo
1.
Book cargo in advance
2.
Send invoices to customers automatically when the cargo reaches some point in its handling
3.
In a real project, it would take some time and iteration to get to the clarity of this model. Part III
of this book will go into the discovery process in depth. But here we'll start with a model that has
the needed concepts in a reasonable form, and we'll focus on fine-tuning the details to support
design.
Figure 7.1. A class diagram representing a model of the shipping
domain
This model organizes domain knowledge and provides a language for the team. We can make
statements like this:
"Multiple 
Customers
are involved with a 
Cargo
, each playing a different 
role
."


"The 

Download 7,21 Mb.

Do'stlaringiz bilan baham:
1   ...   102   103   104   105   106   107   108   109   ...   343




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish