In this section you'll find books, whitepapers and video courses that I have written or created.

PHP Web Services


PHP Web Services Cover

PHP Web Services covers the theory behind web services, some specific examples of data formats and service types, then moves on to give good, solid advice on different aspects of writing kick-ass services. The advice is all hard-won, and I've aimed to share it in a way that's useful, approachable, and applicable to practical projects. I've included the tools and techniques that I'm using when doing this kind of work, particularly around debugging problems and monitoring exactly what's going on.

The book is available through O'Reilly here:
PHP Web Services on OReilly.com

N Ways To Be a Better Developer

nwaysThe book I needed something over 5 years ago in order to get my career started and also moving with momentum in the right direction! This self-published ebook is a joint effort with my friend and mentor Ivo Jansch, and is a work in progress. We started with the contents of our keynote "0x0F Ways To Be A Better Developer", and added many things that we'd had to discard in order to fit our talk into the allocated slot.

This book will continue to grow (updates are free, once you've bought it, you'll get new installments as we release them) as we find the time and inspiration to add to it - such a fun project and also I hope a useful guide for those starting their journey today or looking to move up a gear in career terms.

PHP Master: Write Cutting-Edge Code

PHP Master Cover ShotThis book, which I wrote with co-authors (and friends) Davey Shafik and Matt Turland, is a mid-level text for existing PHP Developers to raise their game still further. It's not a beginner text, but covers a nice selection of topics which are building blocks to being able to build advanced, robust applications.

There's a chapter on OOP, beginning at the very beginning and then taking a tour through the finer points of the language. Most importantly, it shows how and when to use the various features, and has working code examples to accompany it. To follow on, there's also a chapter on design patterns, also with real examples, and a later section on SPL which is a great way to build elegant object-oriented code in PHP.

One thing I often find myself working with developers on is their databases, data structure and also how to actually talk to the database efficiently. The book has a chapter that covers both aspects, how to normalise data and then how to work with it from PHP using PDO.

All in all, getting together with some peers to work out what we'd tell someone who isn't a beginner, but wants to learn and can handle some quite heavyweight technical ideas, was a lot of fun and personally I think the topics list covers it all quite nicely. I'm recommending this book to everyone looking for an up-to-date text bringing their development skills up a level in a good, all-round way.

OOP Video Course

learnableConsidering learning OOP for PHP? I made this video course for Learnable (who have plenty of other lovely courses too, the membership is a good deal IMO). It starts at the absolute beginning and aims to give you the tools and the vocabulary to start using and applying OOP principles to your own projects.

Source Control Whitepaper

I seem to write the same advice so often when I encounter organisations not using source control, that I thought I'd wrap up all my thoughts into one, pretty document that you can hand to your manager, technical lead, or whoever it is that you need to convince. This PDF (no registration required) is a short overview of the tools available, the benefits of source control in general, and some action points for actually making it happen. I am, of course, available for hire to help with source control implementation, but I hope the document also works on its own and is helpful.

Download PDF: You're not using source control? Read This!