Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

Learn the DI Magic by Mind Map: Learn the DI Magic
5.0 stars - 1 reviews range from 0 to 5

Learn the DI Magic

Michelle Yaiser - Presenter

@MichelleYaiser

Adobe Dev Connection

myaiser@adobe.com

Wrote a ton of content on adobe.com/devnet actionscript 3 documentation

Apache Flex Committer

Taught interactive development for 10 years

Object Oriented Initial Teaching

House Example

Race Car Example

Sweater Example

Seams

definition

Factory Pattern

Service Locator

Inversion of Control

Control is inverted

Hollywood principle

Dependency Injection

Object does not call the injector

Things are installed

Loose coupling of objects via seams

Only the root object is returned by the injector

Injectors can be context/scope specific

Benefits

Where to inject?

Constructor injection

Setter injection

Manual injection

Frameworks