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



Download 7,21 Mb.
Pdf ko'rish
bet249/343
Sana17.11.2022
Hajmi7,21 Mb.
#867526
1   ...   245   246   247   248   249   250   251   252   ...   343
Bog'liq
Eric Evans 2003 - Domain-Driven Design - Tackling Complexity in the Heart of Software

Open Host Service
Typically for each 
BOUNDED CONTEXT
, you will define a translation layer for each component outside
the 
CONTEXT
with which you have to integrate. Where integration is one-off, this approach of
inserting a translation layer for each external system avoids corruption of the models with a
minimum of cost. But when you find your subsystem in high demand, you may need a more
flexible approach.
When a subsystem has to be integrated with many others, customizing a translator for
each can bog down the team. There is more and more to maintain, and more and more
to worry about when changes are made.
The team may be doing the same thing again and again. If there is any coherence to the
subsystem, it is probably possible to describe it as a set of 
SERVICES
that cover the common needs
of other subsystems.
It is a lot harder to design a protocol clean enough to be understood and used by multiple teams,
so it pays off only when the subsystem's resources can be described as a cohesive set of 
SERVICES
and when there are a significant number of integrations. Under those circumstances, it can make
the difference between maintenance mode and continuing development.
Therefore:
Define a protocol that gives access to your subsystem as a set of 
SERVICES
. Open the
protocol so that all who need to integrate with you can use it. Enhance and expand the
protocol to handle new integration requirements, except when a single team has
idiosyncratic needs. Then, use a one-off translator to augment the protocol for that
special case so that the shared protocol can stay simple and coherent.
This formalization of communication implies some shared model vocabulary—the basis of the
SERVICE
interfaces. As a result, the other subsystems become coupled to the model of the 
OPEN
HOST
, and other teams are forced to learn the particular dialect used by the HOST team. In some
situations, using a well-known 
PUBLISHED LANGUAGE
as the interchange model can reduce coupling
and ease understanding. . . .
[ Team LiB ]


[ Team LiB ]

Download 7,21 Mb.

Do'stlaringiz bilan baham:
1   ...   245   246   247   248   249   250   251   252   ...   343




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
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