Clean Architecture



Download 6,37 Mb.
Pdf ko'rish
bet104/259
Sana26.02.2022
Hajmi6,37 Mb.
#465587
1   ...   100   101   102   103   104   105   106   107   ...   259
Bog'liq
Clean Architecture A Craftsman’s Guide to Software Structure and Design by Robert C. Martin (z-lib.org)

Chapter 16 Independence
158
C o n c lu s i o n
Yes, this is tricky. And I’m not saying that the change of decoupling modes 
should be a trivial configuration option (though sometimes that 
is
appropriate). What I’m saying is that the decoupling mode of a system is one 
of those things that is likely to change with time, and a good architect 
foresees and 
appropriately
facilitates those changes.
www.EBooksWorld.ir


159
17
B ou n da r ie s: 
D r aw ing L in e s
www.EBooksWorld.ir


Chapter 17 Boundaries: Drawing Lines
160
Software architecture is the art of drawing lines that I call 
boundaries
. Those 
boundaries separate software elements from one another, and restrict those 
on one side from knowing about those on the other. Some of those lines are 
drawn very early in a project’s life—even before any code is written. Others 
are drawn much later. Those that are drawn early are drawn for the purposes 
of deferring decisions for as long as possible, and of keeping those decisions 
from polluting the core business logic.
Recall that the goal of an architect is to minimize the human resources 
required to build and maintain the required system. What it is that saps this 
kind of people-power? 
Coupling
—and especially coupling to premature 
decisions.
Which kinds of decisions are premature? Decisions that have nothing to do 
with the business requirements—the use cases—of the system. These 
include decisions about frameworks, databases, web servers, utility libraries, 
dependency injection, and the like. A good system architecture is one in 
which decisions like these are rendered ancillary and deferrable. A good 
system architecture does not depend on those decisions. A good system 
architecture allows those decisions to be made at the latest possible moment, 
without significant impact.

Download 6,37 Mb.

Do'stlaringiz bilan baham:
1   ...   100   101   102   103   104   105   106   107   ...   259




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