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



Download 7,21 Mb.
Pdf ko'rish
bet287/343
Sana17.11.2022
Hajmi7,21 Mb.
#867526
1   ...   283   284   285   286   287   288   289   290   ...   343
Bog'liq
Eric Evans 2003 - Domain-Driven Design - Tackling Complexity in the Heart of Software

CORE DOMAIN
, then it serves as
a practical indicator of the significance of a model change. When a model or code
change affects the distillation document, it requires consultation with other team
members. When the change is made, it requires immediate notification of all team
members, and the dissemination of a new version of the document. Changes outside
the 
CORE
 or to details not included in the distillation document can be integrated
without consultation or notification and will be encountered by other members in the
course of their work. Then the developers have the full autonomy that XP
suggests.
Although the 
VISION STATEMENT
and 
HIGHLIGHTED CORE
inform and guide, they do not actually
modify the model or the code itself. Partitioning 
GENERIC SUBDOMAINS
physically removes some
distracting elements. The next patterns look at ways to structurally change the model and the
design itself to make the 
CORE DOMAIN
more visible and manageable. . . .


[ Team LiB ]


[ Team LiB ]
Cohesive Mechanisms
Encapsulating mechanisms is a standard principle of object-oriented design. Hiding complex
algorithms in methods with intention-revealing names separates the "what" from the "how." This
technique makes a design simpler to understand and use. Yet it runs into natural limits.
Computations sometimes reach a level of complexity that begins to bloat the design.
The conceptual "what" is swamped by the mechanistic "how." A large number of
methods that provide algorithms for resolving the problem obscure the methods that
express the problem.
This proliferation of procedures is a symptom of a problem in the model. Refactoring toward
deeper insight can yield a model and design whose elements are better suited to solving the
problem. The first solution to seek is a model that makes the computation mechanism simple. But
now and then the insight emerges that some part of the mechanism is itself conceptually coherent.
This conceptual computation will probably not include all of the messy computations you need. We
are not talking about some kind of catch-all "calculator." But extracting the coherent part should
make the remaining mechanism easier to understand.
Therefore:

Download 7,21 Mb.

Do'stlaringiz bilan baham:
1   ...   283   284   285   286   287   288   289   290   ...   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