Dependency Injection with Delphi

preview_player
Показать описание
How to use Dependency Injection with Delphi
Рекомендации по теме
Комментарии
Автор

I get tick-tocked (as you can see): everybody explains dependency injection with petals, language, beer, employee, ... but nobody explains it with customer, orders, invoices, stock, database-access, services ... For a newbie that never worked with injection, this abstraction is very very VERY difficult to understand. Just some concrete real-world examples would be great.
For somebody that understands it and worked with it, abstraction is great. But the first person that ever used dependency injection was not on a beer-pooring, languange-translation petalgrowing case.

abc
Автор

This is not dependency injection, its an example of coupling, no one is injecting anything.

vesnx