Can someone describe some DI terms to me?

Posted by SoBeNoFear on Stack Overflow See other posts from Stack Overflow or by SoBeNoFear
Published on 2009-05-09T17:27:32Z Indexed on 2010/05/18 3:00 UTC
Read the original article Hit count: 284

I'm in the process of writing a DI framework for PHP 5, and I've been trying to find the 'official' definitions of some words in relation to dependency injection. Some of these words are 'context' and 'lifecycle'. And also, what would I call the object that gets created/injected? Finally, what is the difference between components and services, and which term (if either) should I call the objects that can be injected?

I've read Martin Fowler's article and looked through other DI frameworks (Phemto, Spring, Google Guice, Xyster, etc.), but I want to know what you think. Thanks!

© Stack Overflow or respective owner

Related posts about dependency-injection

Related posts about php5