 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Volker Dusch: If it's not written in PHP it's irrelePHPant!
by Chris Cornutt November 20, 2012 @ 09:11:51
Volker Dusch has a new tongue-in-cheek post to his site talking about a few pieces of useful software that are not written in PHP...and why not?
Dear PHP Community, we need to have a talk about the insufferable state of your software stacks. It was recently brought to my attention that there is software out there, software we use every day!, that is NOT written in PHP. This is completely unacceptable! We are PHPeople! We're not "Web" Developers, we are the web. And we sure as hell are not some fancy "Software Developer", you can ask anyone on the internet! Seriously: If it's not PHP how will we ever be able to extend and adapt it to our needs! We are slaves of our tools!
He mentions several tools that, yes, while not written in PHP are very useful to just about any developer out there (including git, Puppet and Apache). But, more seriously:
PHP is a language that enables absolute beginners to start creating on the web using FTP and notepad! It let's us realize and validate our ideas blazingly fast and allows us to adapt our successful ideas to beautifully scale with our requirements providing and relying on solid, battle-proof tools.
voice your opinion now!
written language useful tools git travis apache puppet jenkins opinion
Jeremy Cook: Continuous Deployment with Symfony2, Jenkins and Capifony
by Chris Cornutt November 14, 2012 @ 13:35:08
Jeremy Cook has a recent post to his site showing how he set up Capifony and Jenkins to do continuous deployment with a Symfony2-based application (including a full recipe for the deployment).
It seems that many people talk about setting up a continuous deployment system but few actually take the plunge and make it a reality. I've recently set up continuous deployment for an API project at work and thought I would blog about how I got it all to work.
He starts by laying out the plan for the system and what it's intended to do (an excellent first step). This is followed by details on Capifony and what kind of advantages it offers for deployment. He shares the full contents of his "deploy.rb" file that includes the actual steps for the deployment including a git checkout, a Composer install, warming up the Symfony cache and restarting Apache. He also includes how they have it set up with Jenkins, having the build triggered when the main project's build completes successfully.
voice your opinion now!
continuous deployment symfony2 jenkins capifony tutorial
Anthony Ferrara's Blog: Building A Multi-Version Build System
by Chris Cornutt July 09, 2012 @ 15:42:32
In this recent post Anthony Ferrara has a new post showing how he created a multi-version build system to make working with multiple PHP installs (different versions) simpler....with the help of Jenkins.
I've been using Jenkins to manage builds of my projects for a while now. This was fine for a while, but now that my projects need to support multiple versions of PHP, it left something to be desired. I wanted a system that could build against multiple versions of PHP. And more so, I wanted to be able to build against multiple compiles of the same version (different options, etc). This is how I built just such a system...
He gives an overview of the Jenkins system, the hardware and operating system that runs the server as well as examples of his "php-build" command to generate the different environments. He uses a modified version of the PHP template for Jenkins as a base.
voice your opinion now!
multiversion deployment jenkins build system
PHPMaster.com: Automate PSR Compliance through Jenkins
by Chris Cornutt July 03, 2012 @ 09:08:34
On PHPMaster.com today there's new tutorial showing how you can enforce compliance with the PSR standards in your application's code with the help of the Jenkins continuous integration tool.
Though it's still early to guarantee that the PSRs will be widely adopted as the de facto standard for writing serious PHP applications, it is interesting to note that a code sniffer and fixer that looks for code deviations was developed by nobody less than Fabien Potencier, the creator of the Symfony framework. (Et bien, ils ne sont pas fous, ces français!) In the rest of the article we shall find out what his PHP-CS-Fixer does and how can it be integrated with a CI tool like Jenkins.
He shows how to install a tool that can help you keep your source in compliance - the "fixer" (created by Fabien Potencier) to help correct the problems found in your code. He includes the command line calls you'll need to run the tool on your code and how to add the step to your build.
voice your opinion now!
automation jenkins psr compliance fixer fabienpotencier
Marcelo Gornstein's Blog: PHP Continuous integration, with Jenkins and Phing
by Chris Cornutt April 27, 2012 @ 12:18:30
On his site Marcelo Gornstein has published a new guide to getting a basic automated continuous integration server set up with Jenkins and Phing.
This article is about how to use Phing in your projects, so a continuous integration server (in this case artifacts for your php application (deployment artifacts, documentation, code metrics, etc). I'll try to show why this will make your life easier when developing or auditing code, generating releases and deploying new versions, trace bugs, etc. All with just a handful of phing tasks.
He introduces the Phing tool and explains how it makes automating the steps of your process simpler, relating it to the Apache Ant tool for those familiar with it. He links to several of the resources used in the process including PHPLoc, DocBlox and the code for the article itself. He outlines the process and, complete with a screenshot of the final result, shows you how to get everything configured and running smoothly.
voice your opinion now!
continuous integration jenkins phing testing automation
PHPMaster.com: Continuous Integration (with Jenkins), Part 2
by Chris Cornutt April 02, 2012 @ 08:18:49
Following up from his previous post about setting up PHP with Jenkins, J Armando Jeronymo is back with part two of the series - setting up an example project to show how the pieces fit together.
In the first part of this article I presented the case for Continuous Integration. Now we'll install and set Jenkins up to monitor the automatic building of a simple demonstration PHP application. We'll begin with the demo project, then address Jenkins' installation, and finally set it up and watch it running.
He includes a sample project structure, complete with a PHP class and its tests. He shows how to manually run things first (so you'll know what the commands do), the contents of the class/tests and the example Ant configuration file. He's also included screenshots of the Jenkins interface, showing how to create a build, add a new step and let the build run to evaluate the results.
voice your opinion now!
tutorial jenkins continuous integration phpunit unittest ant build
PHPMaster.com: Continuous Integration (with Jenkins), Part 1
by Chris Cornutt March 26, 2012 @ 08:47:38
For anyone out there wanting to get a build process going for their latest project (or maybe even an older one), PHPMaster.com has the first part of a series about doing continuous integration with Jenkins posted with some good tips for you to get started.
What Jenkins does is not difficult to understand once you know why it does that. In this 2-part series I'll present a big-picture overview of the sort of programming problems CI can solve, show how it can be achieved with the help of specialized software and explain how Jenkins can be minimally used to periodically trigger testing and building of PHP (web)applications, keeping a record of where integration succeeded or failed and maintaining an "output" folder up-to-date with the latest files that the application requires, ready to be uploaded to the server.
He uses a story to illustrate the usefulness of a Jenkins CI server, telling about different people working on different parts of an application and the differing decisions they all make about the code. He talks about how, with the help of a CI server, they could have avoided "integration hell" when they tried to bring their work back together and how things like version control, unit testing and automated builds could help.
There's brief instructions at the end to be sure you have two things set up before continuing on with the rest of the series - git for version control and ant for the build process.
voice your opinion now!
continuous integration jenkins tutorial introduction
PHPBuilder.com: Getting Started with Jenkins for PHP Developers
by Chris Cornutt June 22, 2011 @ 09:20:26
On PHPBuilder.com today there's a new tutorial from Jason Gilmore helping you get started with Jenkins for building and deploying your PHP applications. Jenkins (formerly Hudson) can make things "one click simple" for you to correctly push your applications live every time.
Although a Java-based solution, an active plugin community has made it possible to use Jenkins for far more than Java-specific projects. More recently it has become much easier for Jenkins' novices to use the project in conjunction with PHP projects thanks to the work of Sebastian Bergmann. Known as Template for Jenkins Jobs for PHP Projects, the project provides a configuration file which you'll use to enable Jenkins/PHP integration, and supports several popular familiar PHP tools such as PHP_CodeSniffer and PHPUnit.
He walks you through a brief installation of Jenkins (packages on a Debian install) and shows you how to get your git repository, the source for it to pull from) configured and ready to pull. He also includes some other screenshots showing you where to look for the build status, results from past builds and how to get the system to build documentation as a part of the build.
voice your opinion now!
jenkins install tutorial build template deploy git
DZone.com: Automated code reviews for PHP
by Chris Cornutt June 16, 2011 @ 10:06:47
On the Web Builder Zone (a part of DZone.com) Giorgio Sironi take a high-level look at some of the tools you can use for automated code reviews in your projects without you ever having to lift a finger (well, once it's set up, of course).
I'm exploring an approach to automated code review: it's not as precise as the human-based one, but it scales better. [...] All in all, automated code reviews, performed with tools instead of with human intellect, can be a starting point to search for the problematic zones of a codebase. Then the human may come in, since they also have to clean up the code: their intervention was already scheduled.
The tools he mentions (and, in some cases, shows how to install/use) are:
voice your opinion now!
automated code review tools phpunit phpdepend pmd jenkins
Stefan Koopmanschap's Blog: API documentation in Jenkins with DocBlox
by Chris Cornutt May 02, 2011 @ 11:26:40
In a new post to his blog Stefan Koopmanschap shows you how to get DocBlox installed for your documentation-generation needs as an alternative to phpDocumentor.
People using PHP that want API documentation usually automatically think of phpDocumentor, which used to be the de facto standard for generating API documentation from your PHP projects. However, the project has been dormant for a long time now and definitely does not support new PHP features such as namespaces, so it was really time to look for an alternative. In this blogpost, I'll show you how I set up my Jenkins CI to use DocBlox, one of the new API documentation generators currently available.
The DocBlox project is in active development and supports additional things in top of the current feature set phpDocumentor includes. Stefan gives you the exact XML you'll need to include in your Jenkins build file (and the phpDocumentor line it will likely replace) that builds out the documentation to a given path. He's given an example of his full build file to give you some context too.
voice your opinion now!
docblox phpdocumentor jenkins build alternative
|
Community Events
Don't see your event here? Let us know!
|