Upload
jon-fuller
View
459
Download
0
Tags:
Embed Size (px)
DESCRIPTION
A discussion of dependencies in software. Presenting a progression of how to manage them, concluding with a container.
Citation preview
dealing with dependenciestaking your architecture to rehab
me
I Am:
@jon_fuller
practicing apprentice
SEP
I Am Not:
expert
all-knowing
simplicity
flexible
maintainable
testable
agile
low coupling
acronym overload
DIP
DI
OMG!
IoC
WTF?
Single ResponsibilityOpen-ClosedLiskov SubstitutionInterface SegregationDependency Inversion
DIP
DIP
Thou Shall Invert Dependencies
DIP
SecurityHandler
LoginService
Uses
DIP
SecurityHandler Login
Service
Uses
Active Director
y
Exchange
DIP
SecurityHandler
HIGH LEVEL MODULES SHOULD NOT DEPEND UPON LOW LEVEL MODULES . BOTH SHOULD DEPEND UPON ABSTRACTIONS.
ILoginService
Uses
Login Service
Is A
90˚
X
Y
DIP
DIP
service location& factories
DI
DI
dependency injection
DI
DI
DI
DI
poor man’s DI
DI
DI
simplicity
WTF?
inversion of control
IoC
declarative
IoC
container
IoC
free your mind
IoC
IoC
IoC
IoC
conventions
Java .NET
Dynamic
IoC
lifecycle management
IoC
IoC
aop/interception
IoC
IoC
simplicity