I was going into this talk kind of blank - and I've still missed the point of dependency injection for half a day after this talk, and then it hit me - at our company we've been using this pattern for our framework for a couple of years! So I had to re-read the slides to get a better look at it and I think we're not implementing the injections in the same way, so maybe I should get another good look at the theory.. Are there any good books or blog posts on the subject?
Awesome talk and cool examples! Haven't seen a comparision of these frameworks before and we could see their different ways to solve the problem and there are quite massive differences between all these frameworks so everyone should compare all of them before choosing one!
@Thijs van der Meer: As I said in the talk, the article published by Martin Fowler is really good as a starting point and sort of THE DI reference, I think:
http://martinfowler.com/articles/injection.html
Because nearly everyone will work with DI containers in the future (all big frameworks are supporting it) this was a very interesting session.
I only saw the Zend Framework 2 way while following development, but seeing how Flow3 and Symfony2 are doing it is very useful. I'm searching for some performance information, I read an email in the Zend Framework mailing list where DI seems to be the slowest part of the framework, but that information is months old. They want to solve it by generating a config, that should be much faster.
A few performance numbers would have been cool (without DI, with Reflection, with Annotations, explicit config)...
Comments
Comments are closed.
this was very interesting, certainly something to look in deeper.
I was going into this talk kind of blank - and I've still missed the point of dependency injection for half a day after this talk, and then it hit me - at our company we've been using this pattern for our framework for a couple of years! So I had to re-read the slides to get a better look at it and I think we're not implementing the injections in the same way, so maybe I should get another good look at the theory.. Are there any good books or blog posts on the subject?
Awesome talk and cool examples! Haven't seen a comparision of these frameworks before and we could see their different ways to solve the problem and there are quite massive differences between all these frameworks so everyone should compare all of them before choosing one!
@Thijs van der Meer: As I said in the talk, the article published by Martin Fowler is really good as a starting point and sort of THE DI reference, I think:
http://martinfowler.com/articles/injection.html
Nice talk, very informative. Great comparison of today's DI implementations (from loose containers to full framework). Thank you.
Some more nerdy jokes to spice things up couldn't hurt.
Good talk!
Good talk
Very interesting talk.
Because nearly everyone will work with DI containers in the future (all big frameworks are supporting it) this was a very interesting session.
I only saw the Zend Framework 2 way while following development, but seeing how Flow3 and Symfony2 are doing it is very useful. I'm searching for some performance information, I read an email in the Zend Framework mailing list where DI seems to be the slowest part of the framework, but that information is months old. They want to solve it by generating a config, that should be much faster.
A few performance numbers would have been cool (without DI, with Reflection, with Annotations, explicit config)...
Thanks for the slides!