Skip to content
From our Community Blog:

Object-oriented theme and plugin development with PHP 7 - WPCampus 2019

Subscribe to Community Blog updates

If you've ever been a Java or C++ programmer, then you probably encountered some pretty strong opinions about object-oriented programming (OOP). And, if you've ever been online, I'm sure you've also seen similar strong opinions about the state of PHP and, perhaps, the mental acuity of those who choose to use it. If you've ever wondered what all the OOP hoopla was about and how it might be useful to us when programming in WordPress, then this is the session for you!

Dash has been writing object-oriented code for years. More pertinently, they've developed some extremely useful tools that you can use to get started in this world, too. Especially now that WordPress is recommending PHP 7.3, it's time to learn about and play with all the new features of our language that we have in our toy box primarily those which could positively impact your theme and plugin development going forward.

After this session, you'll have a good understanding of new PHP features like parameter and return type hinting, argument unpacking, and the spaceship operator (yeah, it's a thing). We'll also go over some basic OOP concepts like the SOLID development principles. Finally, we'll take a quick look at how Dash uses some or all of these in developing themes and plugins.

You can learn more about this session on the WPCampus 2019 website at https://2019.wpcampus.org/schedule/object-oriented-theme-and-plugin-development-with-php-7/.

Speaker:
David Dashifen Kees

What is WPCampus?
WPCampus 2019 was the fourth annual in-person conference for the WPCampus community, a gathering of web professionals, educators and people dedicated to the confluence of WordPress in higher education. The event took place July 25-27, 2019 on the campus of Lewis & Clark College. Learn more about the event at https://2019.wpcampus.org.

Login to WordPress