wiki:Users/PhingBuzz

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.


Automate Your Life with Phing

Phing development update (March 4th 2012)

Michiel discusses some of the commits that were made to the Phing project since moving the code to GitHub.

Use Phing to update your SVN-version-controlled website automatically, through FTP

"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)"

(Semi-)automatic MODx migrations using Phing

"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."

Automate the deploy process with Phing

"I'm using Phing to optimize my static files: optmize images with smush.it integrate layout images which are only used once in the CSS, directly into the CSS (data URI's and for IE < 8 a MHTML document) merge CSS and Javascript files, to make fewer HTTP requests compress merged CSS and Javascript with the YUICompressor"

How To: Simple database migrations with Phing and DbDeploy

"...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."

Setting up continuous integration for PHP using Hudson and Phing

"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."

Using Different Loggers In Phing

"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."

Last modified 2 years ago Last modified on 01/04/2013 10:27:56 AM