Linked Questions
30
votes
6answers
72k views
What is Dependency Injection? [duplicate]
Possible Duplicate:
What is dependency injection?
Spring is the framework from where the concept Dependency Injection came to picture.
What is purpose of DI ? How does it benefit ? How is it ...
7
votes
10answers
16k views
What are Dependency Injection & Spring Framework about? [duplicate]
Possible Duplicates:
What is dependency injection?
What exactly is Spring for?
I want to know
What is Spring Framework? Why and when should one use it in Java Enterprise development?
The ...
2
votes
3answers
5k views
what is Dependency Injection? [duplicate]
Possible Duplicate:
What is dependency injection?
Im learning asp.net mvc 3. One of the new features being Dependency Injection. Can someone tell me what it is? why is it useful? and when to use ...
3
votes
4answers
1k views
Interviewer asks: “What's the value of dependency injection?” [duplicate]
Possible Duplicate:
What is dependency injection?
I respond: "You don't need to use the new operator."
Interviewer's response: "<SIGH>. That's it?"
That's all I could come up with.
What ...
2
votes
4answers
714 views
What is dependency injection and why would I want to use it? [duplicate]
Possible Duplicate:
What is dependency injection?
Other developers on my team keep talking about dependency injection. I have looked it up on Wikipedia but I still don't understand exactly what ...
0
votes
1answer
703 views
Dependency injection design pattern [duplicate]
Possible Duplicate:
What is dependency injection?
Spring uses dependency injection pattern. Can someone show a simple example of this pattern?
I heard there is another pattern called service ...
3
votes
1answer
331 views
What does 'dependency injection' solve in PHP? [duplicate]
Possible Duplicate:
What is dependency injection?
What is the hipe around 'dependency injection' adapted from Java and introduced in Symfony 2? Could someone give an example of a problem and a ...
0
votes
2answers
304 views
Explanation Dependency Injection [duplicate]
Can anyone help me explaining in 'easy words'
When should I use dependency injection.
Why should I use it? ( Should I use it in combination OR not with MVC?)
What does in it easy words ? How is it ...
0
votes
2answers
128 views
What does dependency injection mean? [duplicate]
TL;DR Version
Can you explain the concept of dependency injection to an 'enthusiast programmer' with a fundamental understanding of programming. i.e. Classes, functions and variables.
What is the ...
0
votes
2answers
197 views
SmartUI developer trying to expand his horizons, can you explain what Dependancy Injection is? [duplicate]
Possible Duplicate:
What is dependency injection?
I've read the Wikipedia page.
I've read an articulate explanation from a book from Apress.
I still don't understand what it is, or why it's ...
0
votes
1answer
132 views
How to use PHP classes between other classes [duplicate]
I know the basics of PHP and have only ever used it to debug WordPress code generally, but now I want to write my own little program to download an email and process an attachment and I have decided ...
1
vote
2answers
123 views
Why When use IoC in MVC Application? [duplicate]
I have general questions
1) Why we need IoC in Asp.NET application ?
2) When should use it
3) if I dont use Structuremap in my MVC Application What will I miss?
Unfortunately I have problems with ...
1
vote
1answer
93 views
how dependency injection helps to develop application classes in java [duplicate]
I am new to "Springs framework" in java. I want to know clearly about Dependency Injection.
Regular Java Class:
public class TextEditor {
private SpellChecker spellChecker;
...
-1
votes
1answer
47 views
importance of Interfaces and Abstract Classes in PHP [duplicate]
I've seen some examples of Interfaces and Abstract Classes and how they can be connected to each other. I've been wondering how important are these two in object-oriented programming.
Why is it that ...
0
votes
2answers
55 views
dependency injection - is this IT? [duplicate]
I have a class that depends on another class. Rather that instantiate the depended upon class, I require it be passed in in the one and only constructor. Does this effectively inject said dependency?
...