Dependency Injection in PHP 5.2 and 5.3

Fabien Potencier (30.Jan.2010)
Talk at PHPBenelux Conference 2010 (English - UK)

Rating: 4 of 5

Dependency Injection in PHP 5.2 and 5.3

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 4 of 5

30.Jan.2010 at 14:53 by Jose da Silva (5 comments)

Great presentation and great topic approach. Nicely done! Will look at the slides later on again.

Rating: 4 of 5

30.Jan.2010 at 15:12 by Derick Rethans (73 comments)

Good introduction... closures are cool but confusing :-)

Rating: 4 of 5

30.Jan.2010 at 16:26 by Jeroen Keppens (18 comments)

Very good presentation. Interesting stuff, which I will (have to) look into depth a bit more at home. I'm not a symfony guy, so he lost me in the last part a bit when he started juggling with Symfony yaml and xml files.

Rating: 4 of 5

30.Jan.2010 at 16:34 by Nick Belhomme (43 comments)

some good real world examples on lambdas and closures. Interesting piece of code based on these showing a dependency injection container. The talk invites you to start playing with the features at home.
However I must agree with Amazium on the Symfony part.

But overal a very good presentation!

Rating: 4 of 5

31.Jan.2010 at 00:13 by Ben Waine (57 comments)

I enjoyed this talk. It was a good balance of the basic concepts followed by a trivial implementation, followed by a good real world example. This format really encourgaed me to look at the slides again and check out the code.

Although not a Symphony user, the last demonstration intrigued me. Perhaps I will try and use the tool in a future project.

Rating: 4 of 5

31.Jan.2010 at 08:04 by Rick Buitenman (29 comments)

Extremely informative talk. First time I saw real practical use of lambdas and closures.

Rating: 5 of 5

31.Jan.2010 at 13:11 by Roderik van der Veer (7 comments)

Very nice and professional presentation. Source formatting in code samples was unreadable (the purple) but otherwise no issues. Nice introduction to closures in php 5.3 and i'm very exited in Symfony 2 after seeing the code samples!

Rating: 4 of 5

31.Jan.2010 at 13:24 by James Cauwelier (10 comments)

Very useful to see an example of lambdas and closures in practice. Nice intro to the essence of the 'dependency design pattern' and easy to follow, despite the complex nature of the last pieces of code.

Being able to present a difficult topic in an understandable way is a talent few possess.

Rating: 5 of 5

31.Jan.2010 at 13:59 by Pieter Kokx (2 comments)

Very nice presentation about Dependency Injection. And a nice example on how to use some new PHP 5.3 features for the purpose of a Dependency Injection container.

Rating: 5 of 5

31.Jan.2010 at 17:05 by Mike van Riel (31 comments)

Excellent presentation. In contrary to many sources of information about dependency injection it clearly demonstrates how DI and DI containers can improve the way we work with code. Despite its seemingly simple implementation.

I must concur with previous statements that the purple (red?) text was not readable, even from a close distance.

Additionally the piece of code where it was showing a lamba in a another closure being used as callback (last step in creating the DI Container), I could not immediately spot how it should work due to its complexity (though I did figure it out whilst the slide was shown).

Nonetheless: great presentation!

Rating: 5 of 5

01.Feb.2010 at 11:21 by Iwan Luijks (2 comments)

Very good presentation by Fabien Potencier. Below is a small review:

Presentational stuff:
Too bad some code was not really readable on the projection screen. The purple color on the black slide could only be read from close by.
But that didn't really have an impact on the presentation.

The sound of this presentation was good and I could hear everything he said, in despite of other presentations where this wasn't the case.

Technical stuff:
He made some very interesting use of the new lambda and closure functionality in PHP 5.3 and actually provided a practical usecase example for people who might not have yet seen any practical usages for this specific new functionality.

Not only because of this alone the talk was already useful to view, it was also because he showed us how we could take advantage, and how we couldn't take advantage of Dependency Injection.

When should we use it, and when shouldn't we, and what approach should we take and which shouldn't we? Those are the questions he answered, and those are the ones he should have answered.

Bonuspoints for the technical content :).

Rating: 5 of 5

01.Feb.2010 at 11:31 by Sjoerd Maessen (14 comments)

I really liked the way everything was introduced, Fabien started with basics for every fraction of his code. Didn't see practical use of lambdas before and this made it all a lot clearer!

Rating: 4 of 5

02.Feb.2010 at 07:19 by Clemens Schalkwijk (12 comments)

Very good presentation. Dependency Injection is an item to really think about. I would love to here more about Symfony once :-).

© 2019