Talk Synopsis
Yes, your code works, but is it the best it could be? This talk will guide you through tips and tricks to make your code efficient, safe, and easy to read. It’s a great primer for new developers, and a good reminder for those of us who have developed bad habits over time.
- Understand the WordPress Coding Standard
- Write Short, Reusable Functions
- Begin using Unit Testing to ensure code functions as expected
- Begin using UI testing to ensure pages behave as expected
- Discuss benefits of code review
Slides
Notes & Links
Here are some of the resources mentioned during this talk:
- WordPress Coding Standards from the WordPress Developer’s Handbook
- PHP CodeSniffer
- Don’t Dirty The Diff: Tips For Writing Cleaner PHP
- WP Enforcer
- Automated UI Testing using Selenium