Session

Writing Maintainable Code with PHP

Laura Thomson, Mozilla Corporation

Track: PHP
Date: Thursday, July 27
Time: 2:35pm - 3:20pm
Location: E145

In this talk, you'll learn why maintaining other people's PHP code is akin to the ninth circle of hell, and how to write your own code so as not to inflict that on others.

We'll cover :

  • why PHP code tends toward the unmaintainable
  • the use and abuse of coding conventions
  • the use and abuse of classes
  • the use and abuse of exceptions
  • levels of granularity in modularization
  • designed code versus organic code
  • refactoring for maintainability