Buzz about Phing
On this page we publish various useful blog posts, articles and other web pages describing Phing or Phing use cases. If you stumble across something on the net, and think it should be listed on this page, please send the link to users AT phing.tigris.org.
Michiel discusses some of the commits that were made to the Phing project since moving the code to GitHub.
"Here's a little post about Phing, and how to use it with svn & ftp, including a few more tasks that might help (to export & upload differences between two tags)"
"The code featured in this blog post is a mix of a Phing task that is executed on the development machine, and a small script that is uploaded to the staging or production machine. The task uses the MODx manager log to detect the changes made since a particular date. It then tries to match those changes to the database on the staging/production machines, and collates the changes to a SQL file."
"...this article focuses on using seperate tools to run database migrations, a build tool called Phing, along with a method for creating database migrations, dbdeploy."
"CI gets the most out of Unit Tests by forcing them to be run after every change. Not only that, but with a good CI setup, developers instantly know if they haven’t written enough tests. If avoids the situtation where Joe Bloggs has added in a huge chunk of code with zero tests."
"When you run a phing script it will print things out to the console. These messages are either system messages (eg. BUILD STARTED) or echo messages that you have put into your build.xml file. All of this output is controlled and created by a logger file. The default logger is called (unsuprsingly) DefaultLogger and will be used as a default. There are a few different types of logger available, all of which can be found in the listener folder in your PEAR\phing directory."