Continous Integration with PHP & Hudson Jenkins
Monitor your PHP code with quality tools and a continous integration process with Hudson CI.
This training will help you to monitor your code with PHP quality tools like PHPUnit and a continuous integration process based on the Hudson CI server.
Coming sessions
Goals
In two days, learn how to improve your productivity and profitability by monitoring your code quality thanks to the best PHP tools and a continuous integration process with Jenkins.
Program
Download the program as PDFIntroduction to continous integration principles
- Defining continous integration
- Comparing existing continuous integration solutions
- Discovering the « build » principle
- Discovering tools to manage code quality
- Determining relevant metrics and reports to generate
- Setup a continous integration process with PHP projects
Ensure code control with a source code management software
- Installing and configuring a SCM tool (Subversion)
- Creating a source code repository with Subversion
- Discovering « branch », « trunk » and « tag » concepts
- Discovering several Subversion workflows
- Managing a Subversion repository from a client software
Validate code with PHPUnit and unit tests
- Introduction to automated tests families
- Discovering pros and cons of unit testing
- Discovering the Test Driven Development approach
- Installing and using PHPUnit
- Writing a unit test suite for PHPUnit
- Configuring and executing a unit test suite with PHPUnit
- Detecting and fixing source code regressions
Integrate PHP tools to monitor code quality
- Automating targets execution with Ant and Phing
- Automating API documentation generation with PHPDocumentor
- Automating code coverage rate calculation with PHPUnit
- Automating unit tests execution with PHPUnit
- Detecting coding convention violations with PHP_CodeSniffer
- Detecting duplicated code with PHPCPD
- Determining average code quality rate with PHP Mess Detector (PMD)
- Determining dependencies tree with PHP Depend (PDepend)
- Deploying a code browser with PHP_CodeBrower
Automating code quality monitoring with Hudson
- Installing the Hudson continuous integration server
- Installing required Hudson plugins to automate builds
- Installing PHP tools for monitoring code quality
- Configuring access to the Subversion repository
- Analyzing build reports and consolidating build statistics
- Analyzing and understanding graphics generated by Hudson
- Making successful builds available and deployable
- Configuring automatic alerts in case of failing build
- Learning how to efficiently react face to a failed build
Session details
Reference code
HUDSC1
Price
Starts at €1,290.00 (ex. tax)
Audience
PHP developers, architects, CTOs
Duration
2 days (14 hours)
Training type
Workshop
Topics
Quality, methodology, standards, monitoring, Hudson Jenkins
Pre-requisites
Good knowledge of PHP and a SCM tool
