Jump to content
Javier Tarí

Interfaces, Factories, Dependency Injection under D2007?

Recommended Posts

Is there any library/framework out there for D2007, wich makes easier using interfaces, DI , factories or anything on that line?

I would jump on Spring4D, but some legacy issues doesn't allow me to go other Delphi versions for now

I'm using interfaces for just a couple years now, and would prefer not reinventing the wheel if possible

Share this post


Link to post

I believe the line is drawn at D2010 because that's when generics were introduced into the language. Due to bugs, some stuff won't work before XE4 or so.

Share this post


Link to post
25 minutes ago, David Heffernan said:

Consequence of your decision to use an ancient tool. Upgrade to modern delphi. 

Seems to be some roadblock there:

On 10/29/2021 at 4:40 PM, Javier Tarí said:

but some legacy issues doesn't allow me to go other Delphi versions for now

I would try to remove that roadblock first. There will be other paths being blocked by it which are just not visible yet.

Share this post


Link to post

Just to use these concepts you won't need generics... however I doubt there is any lib such as S4D based on old language features. Maybe you'll explain what you need all that stuff for?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×