Skip to content

Monthly Meeting - July/2013

Photo of Rafael Dohms
Hosted By
Rafael D.
Monthly Meeting - July/2013

Details

July's topic is Dependency Injection.

Our speaker will be Matthias Noback and he'll be telling us about what you should watch out for when using DI. The meeting will be sponsored by Copernica and hosted at their Amsterdam office.

Get ready for a roof terrace BBQ!

Schedule

19:00: Welcome Drinks
19:30 - 20:30: "Dependency Injection Smells"
20:30 - 20:45: Raffle
20:45: Social, drinks and food.

Speaker: Matthias Noback

Since 2002 I have been developing websites and PHP applications, both as a freelancer and as an employee of Driebit (Amsterdam), where I learnt symfony 1, and later at IPPZ (Utrecht), where I have become a back-end PHP/Symfony2 developer responsible for internal quality of the codebase.

Talk: "Dependency Injection Smells"

With the rise of dependency injection (DI) containers, which may or may not also be service locators, it is now very easy to keep track of all the dependencies of your classes and to switch between implementations. The temptation of using the new operator has since become much smaller. Still, all the options of the containers and locators, the syntax of the service definitions and lack of knowledge about design patterns related to dependency injection have resulted in some bad dependency injection design practices.

In this talk I will describe a couple of very recognizable and also very well fixable Dependency Injection Smells. After showing a code fragment which contains one of these DI smells, I will continue to work out different scenarios in which the situation gets out of hand and the smell becomes too bad. A solution then comes from existing design patterns and some general design principles.

Raffle
We got some awesome stuff to give away this month, so make sure you CHECK IN once you arrive at the meetup if you want a shot at getting it!

Photo of AmsterdamPHP group
AmsterdamPHP
See more events
Copernica
De Ruijterkade 112 · Amsterdam