Integrating PHP Projects with Jenkins - Book Review

The book Integrating PHP Projects with Jenkins written by Sebastian Bergmann takes all PHP developers not using continuous integration yet on a fast-paced educational journey of learning Jenkins, the popular continuous integration server. The book author Sebastian Bergmann is the creator of PHPUnit, a de-facto standard in the field of quality assurance in PHP projects, shows readers how to implement continuous integration with Jenkins to automate processes for building, deploying and improving PHP applications through continuous inspection



First chapter introduces the build automation, the practice of automating the various tasks that software developers need to perform in their daily routine.

The chapter two "Setting up Jenkins" explores the details of installing and configuring tools used for continuous integration set up - PHPUnit, PHP_CodeSniffer, phpcpd, PHP_Depend, phpmd, phploc, PHP_CodeBrowser and Jenkins.

Next chapter covers running unit tests using PHPUnit and creating of Jenkins project for basic PHP application.

The chapter "Continuous Inspection" is the largest portion of Integrating PHP Projects with Jenkins book, and it covers specific of generating API documentation, calculating software metrics, and looking for duplicate code and coding standard violations.

In my opinion the fifth chapter "Automating the Automation" is the most interesting one in the book, it introduces a command-line tool PHP Project Wizard that can be used to generate the scripts and configuration files necessary for the build automation of a PHP project, and also provide the template for Jenkins Jobs for PHP projects which removes the need to manually configure the post build actions.

Last chapter provides the short summary of continuous integration and continuous inspection processes described in the book.

More book reviews at Amazon: Integrating PHP Projects with Jenkins

I consider this book as a complete tutorial for PHP developers on setting up the state-of-the-art continuous integration and continuous inspection environment for PHP projects. This environment will produce a known state of the software that can be verified using automated tests as well as calculates software metrics that measure various aspects of the internal quality of the software for each build. In short, I strongly believe that every PHP developer or software architects must have this book, through its details examples tips, you'll discover how easy it is to set up a continuous integration and continuous inspection services with PHP and Jenkins.

Techical Book Details:

Title: Integrating PHP Projects with Jenkins
Author: Sebastian Bergmann
Publisher: O'Reilly Media
Formats: Print, Ebook and Safari Books Online
Print: September 2011
Ebook: September 2011
Pages: 58
Print ISBN: 978-1-4493-0943-5 ; ISBN 10: 1-4493-0943-7
Ebook ISBN: 978-1-4493-0942-8 ; ISBN 10: 1-4493-0942-9

Related books reviews and recommendations

No comments: