The Grumpy Programmer's Guide To Building Testable PHP Applications
by Chris HartjesAbout the Book
There are plenty of books that show the aspiring PHP programmer how to use testing tools. But how do you actually build your application in such a way that using the testing tools is easy instead of a constant struggle?
The guide is aimed at helping intermediate level programmers build applications that should be easier to test and hopefully to maintain. If you're a beginning PHP programmer (or beginning programmer for that matter) this guide might be hard to follow. Remember, by buying a Leanpub book you will automatically get notified of any updates if I should happen to add new material or make corrections.
My goal is to show you that it really isn't a lot of extra work to create an application that consists of small modules of code that know how to speak to each other in order to solve larger problems. You'll learn why automated testing can be an essential tool and how your choice of components for your application makes all the difference in your pursuit of releasing bug-free code into production.
Let my programming experiences help you become a better programmer and let you fix problems faster and add new features to your application with confidence.
The guide is broken down into the following sections:
- Testing Is Good, Testable Applications Are Better
- Building Testable Applications Is Hard
- Environmental Consistency
- Static Code Analysis
- Decoupling Your Objects Using Dependency Injection
- Like An Onion, Your Application Has Layers
- Shells and Sandboxes
- Rebuilding Your Programming and Deployment Environments
- Continuous Integration Landscape for PHP Developers
- Where Are The Tests?
- Advice From A Grumpy Programmer
60 pages of pragmatic but opinionated advice about how to build and test your PHP applications.
If you run a PHP user's group please contact me via email at chartjes@littlehart.net and I will provide you with a free copy to give away at your next meeting.
For more details about the book please visit http://grumpy-testing.com
About the Author
Chris Hartjes
Chris Hartjes has been building web applications of all shapes and sizes since 1998, ranging from catalogs for CD compilations for professional DJ’s to large-scale dating web sites. Currently working for Moontoast helping them build out their social commerce platform.
A huge consumer of open-source software, Chris tries to give back to the community via his blog, by speaking at conferences, and by co-organizing the GTA PHP User Group. He is also a big believer in the power of best practices and automation as secret weapons for organizations to deliver high quality applications quickly.
He lives in Milton, Ontario, Canada with his long-suffering wife, two daughters, a furry pig masquerading as a cat, and the reincarnation of the Roman god of the underworld in feline form.
Table of Contents
-
Copyright
-
Thanks
-
Testing is Good, Testable Applications are Better
-
Building Testable Applications is Hard
-
Environmental Consistency
-
Static Code Analysis
-
Decoupling Your Objects Using Dependency Injection
-
Like An Onion, Your Application Has Layers
-
Shells and Sandboxes
-
Rebuilding Your Programming and Deployment Environments
-
Continuous Integration Landscape for PHP Developers
-
Where Are The Tests?
-
Advice From a Grumpy Programmer
Book Comments
Leanpub book comments powered by DisqusThis book is on sale now!
Minimum price: $10.00
Suggested price: $15.00
Book Language: English
These formats are included in the price:
- ePub (for iPad, Nook, etc.)
- MOBI (for Kindle)
If you buy the book, you get all the author's Leanpub updates to the book for free!
This book has 152 readers!
Leanpub is copyright © 2010-2012 Ruboss Technology Corporation. All rights reserved. Terms of Service | Privacy Policy | Copyright Take Down Policy | Contact Us
