If you like Arduino, but think it would be improved by having WiFi and costing $19 then the Photon and hence this book are for you.
All the code is on GitHub https://github.com/simonmonk/photon_book and as a contributed library from the Particle Web IDE.
For errata and other information about the book, please see Make:’s page for the book.