Dotting your i's and crossing your t's - how to make good code great

May 10, 2014 00:00

Presented on May 10th 2014 at WordCamp NL, Utrecht, The Netherlands.

Ever had to go back to code you did over a year ago ? And… did you like it ?

We all love well documented, testable, easily readable and understandable code. But how do you write it ? and what tools are available to help you ? What can you do now to make your life and the life of your successor(s) and users easier ?

Learn how to avoid a build up of technical debt and make your good code awesome!

If you download the slides, the links should be clickable. Unfortunately they don't seem to be in the online deck, so here's a list of the links:

Slide 10 Types of Technical Debt:

Slide 11 How Quality affects software costs:

Slide 12 PHPUnderControl: Sonar:

Slide 17 - Debugging tools: XDEBUG: PHP lint: JS lint + hint: , , Debug Bar plugins: Firebug: Profile: Profile plugins:

Slide 18 - Educate yourself: WP Codex: WP Dev Reference: PHP manual: Jquery manual: OWASP top 10:

Slide 21 WP Coding standards: and

Slide 22 PHP Code Sniffer:

Slide 23 WP ruleset for PHPCS:

Slide 26 Webbased PHP code sniffer:

Slide 27 PHP cross-version compatibility ruleset for PHPCS:

Slide 32 WP Documentation standards:

Slide 37 PHPDocumentor: PHPDox: WP Documentor (proof of concept):

Slide 41 PHPUnit:

Slide 43 WP handbook on automated testing: WP unit test suite: WP testing with mocking:

Slide 47 pDepend: PHPLOC:

Slide 48 PHP Mess Detector:

Slide 49 PHP Copy Paste Detector:

Slide 50 PHP Dead Code Detector:

Slide 55 Git hooks: and Phing: Grunt: Capistrano: Sonar: Jenkins: Travis:

Slide 57 Bonus link:

Slide 58 Geek and Poke: OSNews:





more decks of the speaker