Design Patterns in PHP

Cal Evans (25.Sep.2009)
Talk at CodeWorks 2009 (Los Angeles) (English - US)

Rating: 5 of 5

We will discuss the 10 most common design patterns used in web programming and how they can be applied in PHP. This is a PHP 201 level session.Some knowledge of PHP is required to understand.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 5 of 5

26.Sep.2009 at 20:41 by Oleg Baranovsky

Great presentation, one of the most concise intro to design patterns in 60 minutes I've ever heard.

Rating: 4 of 5

26.Sep.2009 at 22:02 by Ben Dunlap

Absolutely the best explanation of MVC I've heard. I started getting a little fuzzy on some of the later stuff -- maybe because my OO is weak -- but I think some of the examples could be strengthened also.

The Iterator example comes to mind -- it basically replicates existing PHP functionality. That may end up making the example less helpful because it leaves some in the audience wondering, "why would I ever need an Iterator"? An example showing something you can't already do with next() might be more helpful. Or then again it might just be more confusing...

Love the fun examples, though. Using "son", "daughter", and "wife" makes code much easier to grok than using "foo", "bar", and "baz", at least for me.

Rating: 5 of 5

27.Sep.2009 at 05:04 by Joe Devon

Cal, don't you know you can't convey that many design patterns in an hour ;) Actually, that's what I'd have thought..and you shouldn't be able to, but Cal really managed to get through some difficult concepts on an important topic.

PHP 5's turn to OOP is a pivotal moment in the life of PHP. Key to not losing procedural PHP programmers as we complete this shift (which is far from done, ask @CaseySoftware for the figures), is explaining to them design patterns. Nice way to close out the conference.

Cloud server hosting by Combell Combell      © Joind.in 2012