TDD with PHP book started

At my previous employer I implemented a subset of the Mozilla Open Badges specification in PHP (the reference implementation in Node.js was a pain to deploy on our servers, for all sorts of reasons). Since I was starting from scratch, I decided to do things the right way from day one and try using Test Driven Development (TDD) for the first time.

The hardest part about learning TDD was that most of the existing books used Java for their examples, and these didn’t always map easily to PHP. I struggled to find useful resources which were aimed at PHP developers, and apart from a few blog posts I was on my own.

Although the process had a steep learning curve, I eventually got to grips with TDD and found it caught a lot of problems before release. Now that I’m freelancing full time, I decided it would be a good idea to write a book specifically for PHP developers, outlining how to use TDD and discussing the various tools available, with plenty of examples.

If you’d like to keep up to date with the book, you can find it on Leanpub under the descriptive title: Test Driven Development with PHP. At present there’s only a preview of the front cover, but you can show your support by saying how much you would be prepared to pay for it (there’s no obligation to buy). If you share your email address with me I’ll keep you up to date with developments, including a release date.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.