Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 27644, Dependency Injection / Inversion of Control

by Guinther Pauli Email: Anonymous


This example shows how to apply the Dependency Injection / Inversion of Control patterns in Delphi
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 14.0  to 14.0 196 downloads
Copyright: No significant restrictions


Size: 4,055 bytes
Updated on Sat, 20 Mar 2010 08:00:01 GMT
Originally uploaded on Sat, 20 Mar 2010 07:59:39 GMT
SHA1 Hash: 8A7071FA72EB28D703FB950C470064F2BB8A5F71
MD5 Hash: EB76A4EEFE9E48E8B0CA26B292576261

    Explore the files in this upload

Description
This example shows how to apply the Dependency Injection / Inversion of Control patterns in Delphi, to reduce the depency between classes. The example consists of a Invoice class that depends of a particular payment method. After the applying of DI, the consumer class can initialize Invoices bypassing to it constructor the payment form, using Interfaces and abstraction.

For more information, see http://guintherpauli.blogspot.com

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03