views:

851

answers:

4

For some of my Delphi / Free Pascal projects I consider using Dependency Injection. Are there already implementations available (or in development) which provide some basic DI (IoC) functionality?

Edit: I am not looking for a .NET based solution for Delphi.Net or Prism - in this case, the question would have been: which one should I pick :)

+5  A: 

There is DFrame2009, it look promising, but I haven't tested it yet. http://code.google.com/p/dframe2009/

This looks quite good for a 0.1 release, and it seems to be in active development.
mjustin
+1  A: 

or you could try http://code.google.com/p/emballo/ works with Delphi 2010 also.

A: 

Here is another new project: http://code.google.com/p/delphidicontainer/

And a blog entry about it at http://www.danieleteti.it/?p=199

mjustin
+3  A: 

And another one:

Delphi Spring Framework

http://delphi-spring-framework.googlecode.com/

Features

  • Inversion Of Control(IoC) Container
  • Cryptography Library
  • Generic Collection Interfaces
  • Design Patterns
  • Utility Classes
  • Numbering
  • Code Templates
mjustin
this framework looks very serious and it's regularly updated, thanks for recommending
Juraj Blahunka