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


User: You won't have to worry about this on origin or destination, since the itinerary would always change then. Developer



Download 7,21 Mb.
Pdf ko'rish
bet28/343
Sana17.11.2022
Hajmi7,21 Mb.
#867526
1   ...   24   25   26   27   28   29   30   31   ...   343
Bog'liq
Eric Evans 2003 - Domain-Driven Design - Tackling Complexity in the Heart of Software

User:
You won't have to worry about this on origin or destination, since the itinerary would always
change then.
Developer:
Good. We won't.
Scenario 2: Domain Model Enriched to Support Discussion
Figure 2.2.
User:
So when we change the customs clearance point, we need to redo the whole routing plan.


Developer:_Right._When_you_change_any_of_the_attributes_in_the_Route_Specification_,_well_delete_the_old_Itinerary'>Developer:
Right. When you change any of the attributes in the 
Route Specification
, we'll
delete the old 
Itinerary
and ask the 
Routing Service
to generate a new one based on the new
Route Specification
.
User:
If we hadn't specified a customs clearance point at all before, we'll have to do that at the
same time.
Developer:
Sure, anytime you change anything in the 
Route Spec
, we'll regenerate the
Itinerary
. That includes entering something for the first time.
User:
Of course, if the old customs clearance just happened to be the right one, we wouldn't want
to do that.
Developer:
Oh, no problem. It's easier to just make the 
Routing Service
redo the 
Itinerary
every time.
User:
Yes, but it's extra work for us to make all the supporting plans for a new 
Itinerary
, so we
don't want to reroute unless the change necessitates it.
Developer:
Oh. Then we'll have to add some functionality to the 
Route Specification
. Then,
whenever you change anything in the 
Spec
, we'll see if the 
Itinerary
still satisfies the
Specification
. If it doesn't, we'll have the 
Routing Service
regenerate the 

Download 7,21 Mb.

Do'stlaringiz bilan baham:
1   ...   24   25   26   27   28   29   30   31   ...   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