Let’s Use Modern PHP

Most WooCommerce sites still run PHP code in the ’00s style, and we all know that it’s hard to deal with it. So let’s stop adding new ones!

In this talk, we will show some easy and practical tips we used to introduce PHP standard recommendations and best practices in our regular development. This can help improve our life and our site.

Let’s learn how we make PHP more modern by learning from a little PHP history.

What You’ll Learn

  • The model-view-controller principal
  • Why we should use object-oriented programming
  • The need for namespaces and autoloaders
  • Pros and cons of data types
  • How to handle errors