O'Reilly logo

PHP in Action: Objects, Design, Agility by Chris Shiflett, Marcus Baker, Dagfinn Reiersol

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Taking control with web tests

12.1 Revisiting the contact manager 270
12.2 Getting a working form 277
12.3 Quality assurance 283
12.4 The horror of legacy code 288
12.5 Summary 292

Programming is an intellectual Jackass stunt. We take risks, underestimating the difficulty of a programming task, and often the consequences are unexpected and catastrophic failure. When we implement some code, the possibility that it might fail seems so remote that we don’t even consider it. But in the real world, it’s subject to Murphy’s Law and fails anyway.

But although we know that from repeated experience, we still do it. We keep setting ourselves on fire no matter how many times we get burned.

Admittedly, this is a somewhat sensationalized account. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required