Dependency Injection is the process of organizing your code in a decoupled fashion. This book is all about how to do that in Delphi. You'll learn all about constructor injection, property injection and method injection. You'll learn about the right way and the wrong way to use the Dependency Injection Container. Write your code using proper dependency injection techniques and you'll end up with a testable, decoupled, easy to maintain project.
What is Dependency Injection
Benefits of Dependency Injection
Constructor Injection
Property Injection
Method Injection
Using the Container
A Simple Migration Example
Advanced Uses of the Container
Dependency Injection Anti-patterns
A Full, Useful Example
Final Thoughts