Mike Toppa of WebDevStudios, a website development company specializing in WordPress and related open source platforms, talked clean code at WordCamp Philly in 2011. He’s joining us Saturday in Nashville to talk about dependency injection for object-oriented programming on the developer/advanced track.

This is a powerful and flexible concept. Here’s an analog-world analogy: Would you buy a lamp that required you to solder it directly to the electrical wiring in your wall? Of course not. That would be dangerous, and would make it hard to switch to a new lamp in the future.

You want a lamp you can simply plug in, and easily replace with another lamp (or some other electrical device) when your needs change. This is a good way to look at the object-oriented programming technique called dependency injection. When programmers first learn object oriented programming, they typically “hardwire” the dependencies between objects, making their code inflexible and hard to adapt to changing needs.

In this talk, Mike will introduce dependency injection concepts, and use real code examples to explain how to create “pluggable” object relationships in the WordPress environment, so your code can be easily reused and adapted to emerging needs.

Don’t miss it!

Company bio
Twitter: @mtoppa

About Randy Hicks

From Auburn, CA to Arcata, CA then Portland, OR to Nashville, TN. I'm big on community and big on WordPress so I'm pretty excited to be doing both at the same time! Part time adventurer and hunter of Illithid, patron of the libraries of Xandrios and expert goblin smasher. Master of the Federation of Sol and seeker of the Talisman which grant passage to the Crown of Command. Lest I roll a 4, I'll see you at WCUS17!
This entry was posted in WordCamp. Bookmark the permalink.

Comments are closed.