Dependancy Injection – Minus the Hype

Within the Flash community there has been a fair amount of talk about Dependency Injection. A few ( generally Flex ) frameworks have become popular – notably Robotlegs, Mate and Swiz. It’s easy to find high level discussion about them, but these generally involve developers who are already familiar with DI ( Dependency Injection )  and IoC ( Inversion of Control ).

Fowler’s article is often cited when references are made to DI.  Admittedly, it’s a lot to take in and consider, especially when the article gets into containers.  All this can be confusing to anyone who’s not a seasoned coder or just wants a simple example and not all that prose.

(more…)

Secrets of Object Orientated Encapsulation

Something Between Just You and Me

There’s a little secret I’d like to share… I think many object-oriented programmers use encapsulation incorrectly. For years, even I was guilty.

Yes, it’s true.

(more…)