Timeline for Factory Pattern and/or Dependency Injection?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 19, 2015 at 16:39 | comment | added | Rafael Eyng | Was I the only one who didn't get the single first thing you tried to show with the code? | |
| Dec 7, 2013 at 23:26 | comment | added | Pellared | Welcome! Only if the class needs creating the dependent objects. In most cases it is not required. | |
| Dec 7, 2013 at 22:48 | review | First posts | |||
| Dec 7, 2013 at 23:19 | |||||
| Dec 7, 2013 at 22:42 | comment | added | Samuel Hawksby-Robinson | Thank you for your answer. So best practice would be to create a factory with the pattern for creating concrete objects, then use IoC to pass into the factory object the classes it needs to generate concrete objects from? | |
| Dec 7, 2013 at 22:36 | vote | accept | Samuel Hawksby-Robinson | ||
| Dec 7, 2013 at 22:31 | history | answered | Pellared | CC BY-SA 3.0 |