Posts Tagged ‘PHP’

  • PHP Debugging Techniques – Part III
    Use an IDE and Debugger Most developers use some Integrated Development Environment (IDE) for the majority of their development, and I highly recommend that you do the same. Many PHP developer use Zend Studio and you only have to look at the feature list to see why they find it completely indispensible, especially for debugging. If you have not used an IDE before I...
    by aabi at November 17th, 2009 at 10:11 pm
  • PHP Debugging Techniques – Part II
     2. Error Logging Despite out best efforts, errors can (and do) occur in production environments. When these hiccups do arise we have to ensure that they are dealt with quickly, otherwise users (or even, gasp, clients) get angry. A logging system can be very useful in tracking down bugs, especially when they happen in a production environment. Such a system can also be...
    by aabi at November 17th, 2009 at 09:11 pm
  • PHP Debugging Techniques – Part I
    There are many PHP debugging techniques that can save you countless hours when coding as error reporting, using print statements etc. Let’s go through a little detail of these techniques. Error Messages Error messages are your first line of defense as a developer. You don’t want to be developing code in PHP on a server that is not configured to display error...
    by aabi at November 12th, 2009 at 01:11 am