Dependency Injection in Delphi
Published by : Leanpub
Writed by : Nick Hodges
Published date : 25/02/2017
ISBN-10 : 1941266223
ISBN-13 : 9781941266229
Language : English
Web site : https://www.codingindelphi.com/diindelphi.html
About Dependency Injection in Delphi
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.
Where to buy ?
This book has the ISBN13 "9781941266229".
If it is still available for sale, you can order it in your favorite bookstore, by its publisher or online at
Amazon CA,
Amazon FR,
Amazon JP,
Amazon UK or
Amazon USA depending on your country.
Table of content
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