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


Objects are specialists; developers are generalists



Download 7,21 Mb.
Pdf ko'rish
bet332/343
Sana17.11.2022
Hajmi7,21 Mb.
#867526
1   ...   328   329   330   331   332   333   334   335   ...   343
Bog'liq
Eric Evans 2003 - Domain-Driven Design - Tackling Complexity in the Heart of Software

Objects are specialists; developers are generalists
The essence of good object design is to give each object a clear and narrow responsibility and to
reduce interdependence to an absolute minimum. Sometimes we try to make interactions on
teams as tidy as they should be in our software. A good project has lots of people sticking their
nose in other people's business. Developers play with frameworks. Architects write application
code. Everyone talks to everyone. It is efficiently chaotic. Make the objects into specialists; let the
developers be generalists.


Because I've made the distinction between 
strategic design
and other kinds of design to help
clarify the tasks involved, I must point out that having two kinds of design activity does not mean
having two kinds of people. Creating a supple design based on a deep model is an advanced
design activity, but the details are so important that it has to be done by someone working with
the code. Strategic design emerges out of application design, yet it requires a big-picture view of
activity, possibly spanning multiple teams. People love to find ways to chop up tasks so that design
experts don't have to know the business and domain experts don't have to understand technology.
There is a limit to how much an individual can learn, but overspecialization takes the steam out of
domain-driven design.
The Same Goes for the Technical Frameworks
Technical frameworks can greatly accelerate application development, including the domain layer,
by providing an infrastructure layer that frees the application from implementing basic services,
and by helping to isolate the domain from other concerns. But there is a risk that an architecture
can interfere with expressive implementations of the domain model and easy change
. This can
happen even when the framework designers had no intention of venturing into the domain or
application layers.
The same biases that limit the downside of strategic design can help with technical architecture.
Evolution, minimalism, and involvement with the application development team can lead to a
continuously refined set of services and rules that genuinely help application development without
getting in the way. Architectures that don't follow this path will either stifle the creativity of
application development or will find their architecture circumvented, leaving application
development, for practical purposes, with no architecture at all.
There is one particular attitude that will surely ruin a framework.

Download 7,21 Mb.

Do'stlaringiz bilan baham:
1   ...   328   329   330   331   332   333   334   335   ...   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