Clean Architecture



Download 6,37 Mb.
Pdf ko'rish
bet151/259
Sana26.02.2022
Hajmi6,37 Mb.
#465587
1   ...   147   148   149   150   151   152   153   154   ...   259
Bog'liq
Clean Architecture A Craftsman’s Guide to Software Structure and Design by Robert C. Martin (z-lib.org)

The Kitty Problem
243
Now let us suppose that this system has been in operation for more than a 
year. Our staff of developers have been happily developing new features while 
maintaining and operating all these services. 
One bright and cheerful day, the marketing department holds a meeting with 
the development team. In this meeting, they announce their plans to offer a 
kitten delivery service to the city. Users can order kittens to be delivered to 
their homes or to their places of business. 
The company will set up several kitten collection points across the city. When 
a kitten order is placed, a nearby taxi will be selected to collect a kitten from 
one of those collection points, and then deliver it to the appropriate address. 
One of the taxi suppliers has agreed to participate in this program. Others 
are likely to follow. Still others may decline.
Of course, some drivers may be allergic to cats, so those drivers should never 
be selected for this service. Also, some customers will undoubtedly have 
similar allergies, so a vehicle that has been used to deliver kittens within the 
last 3 days should not be selected for customers who declare such allergies.
Look at that diagram of services. How many of those services will have to 
change to implement this feature? 
All of them
. Clearly, the development and 
deployment of the kitty feature will have to be very carefully coordinated. 
In other words, the services are all coupled, and cannot be independently 
developed, deployed, and maintained.
This is the problem with cross-cutting concerns. Every software system 
must face this problem, whether service oriented or not. Functional 
decompositions, of the kind depicted in the service diagram in Figure 27.1, 
are very vulnerable to new features that cut across all those functional 
behaviors.
www.EBooksWorld.ir



Download 6,37 Mb.

Do'stlaringiz bilan baham:
1   ...   147   148   149   150   151   152   153   154   ...   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