Clean Architecture



Download 6,37 Mb.
Pdf ko'rish
bet61/259
Sana26.02.2022
Hajmi6,37 Mb.
#465587
1   ...   57   58   59   60   61   62   63   64   ...   259
Bog'liq
Clean Architecture A Craftsman’s Guide to Software Structure and Design by Robert C. Martin (z-lib.org)

C o m pon e nt 
Pr i nc i ple s
www.EBooksWorld.ir


This page intentionally left blank 
www.EBooksWorld.ir


95
12
C o m pon e nt s
www.EBooksWorld.ir


Chapter 12 Components
96
Components are the units of deployment. They are the smallest entities that 
can be deployed as part of a system. In Java, they are jar files. In Ruby, they 
are gem files. In .Net, they are DLLs. In compiled languages, they are 
aggregations of binary files. In interpreted languages, they are aggregations 
of source files. In all languages, they are the granule of deployment.
Components can be linked together into a single executable. Or they can be 
aggregated together into a single archive, such as a 
.war
file. Or they can be 
independently deployed as separate dynamically loaded plugins, such as
.jar
or 
.dll
or 
.exe
files. Regardless of how they are eventually deployed, well-
designed components always retain the ability to be independently deployable 
and, therefore, independently developable.
A B r i e f H i s to ry o f C o m p o n e n t s
In the early years of software development, programmers controlled the 
memory location and layout of their programs. One of the first lines of code 
in a program would be the 
origin
statement, which declared the address at 
which the program was to be loaded.
Consider the following simple PDP-8 program. It consists of a subroutine 
named 
GETSTR
that inputs a string from the keyboard and saves it in a buffer. 
It also has a little unit test program to exercise 
GETSTR
.
*200
TLS
START, CLA
TAD BUFR
JMS GETSTR
CLA
TAD BUFR
JMS PUTSTR
JMP START
www.EBooksWorld.ir



Download 6,37 Mb.

Do'stlaringiz bilan baham:
1   ...   57   58   59   60   61   62   63   64   ...   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