dealing with dependencies, taking your architecture to rehab

Post on 04-Jul-2015

459 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

A discussion of dependencies in software. Presenting a progression of how to manage them, concluding with a container.

TRANSCRIPT

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

?

@jon_fullerfullerjc@gmail.comgithub.com/jonfuller

Feedback please!

top related