<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 21:43:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lukasz Kujawa: Deploying PHP applications with Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/19447</guid>
      <link>http://www.phpdeveloper.org/news/19447</link>
      <description><![CDATA[<p>
<i>Lukasz Kujawa</i> has a new post to his site introducing you to deployment of your web-based PHP applications <a href="http://systemsarchitect.net/deploying-php-applications-with-phing/">using the Phing build tool</a>.
</p>
<blockquote>
How many steps are required to deploy your software? Some people say it shouldn't be more than one. I'm little bit more relaxed about it so I would say two steps are still fine. If it takes more than two then most likely you need a build script. [...] <a href="http://www.phing.info/">Phing</a> is a PHP project build system or build tool based on &#8203;<a href="http://ant.apache.org/">Apache Ant</a>. You can do anything with it that you could do with a traditional build system like GNU make. It use simple XML build files and extensible PHP "task" classes.
</blockquote>
<p>
He shows how to get it installed via Composer and how to create a simple "build.xml" file with a few targets inside. He shows how to use the "build.properties" configuration file and how to set them from the command line if needed. He also includes details on doing database migrations using the "dbdeploy" tasks.
</p>
Link: http://systemsarchitect.net/deploying-php-applications-with-phing]]></description>
      <pubDate>Thu, 11 Apr 2013 11:44:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: First Phing Plugin]]></title>
      <guid>http://www.phpdeveloper.org/news/19358</guid>
      <link>http://www.phpdeveloper.org/news/19358</link>
      <description><![CDATA[<p>
In the latest post to her site, <i>Lorna Mitchell</i> walks you through the creation of <a href="http://www.lornajane.net/posts/2013/first-phing-plugin">a first Phing plugin</a>, an extension to the popular PHP-based build tool.
</p>
<blockquote>
I'm a huge fan of <a href="http://phing.info/">Phing</a> and use it regularly for build and deployment tasks. Often, I'll ask about a plugin that I wish existed, and get a very courteous "patches welcome" from the nice people in the #phing channel on freenode. This has happened a few times, so I thought I should probably look at how to make a new phing plugin, this article shows you how to make the simplest thing I could think of: a simple "hello world" plugin.
</blockquote>
<p>
She points you to the location to grab the latest version of the tool (the github repository) and how to define a configuration file for your test runs. Then she includes the sample code showing how to create the "HelloTask" plugin. It takes an input value of "name" and displays a greeting when executed. She shows the syntax for defining this in the XML build file and the sample result when executed.
</p>]]></description>
      <pubDate>Mon, 25 Mar 2013 10:49:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrew Podner: Managing PHP Application Builds with Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/19128</guid>
      <link>http://www.phpdeveloper.org/news/19128</link>
      <description><![CDATA[<p>
<i>Andrew Podner</i> has a new post to his site today <a href="http://unassumingphp.com/managing-php-application-builds-with-phing/">introducing you to Phing</a>, a PHP-based build tool (designed after on Apache Ant) that makes automating builds of your applications easy.
</p>
<blockquote>
One of the things I have been focusing on lately is trying to to a better job of mechanizing and automating the process of building and deploying an application.  The reason for this is pretty simple:  applications just seem to keep getting more and more complicated and intricate as time goes on. [...] <a href="http://www.phing.info/">Phing</a> is a "project build system" that helps developers manage repetitive tasks associated with preparation and deployment of applications.  Phing uses XML based files to allow you the ability to customize the build process to the individual application. 
</blockquote>
<p>
He walks you through the Phing installation (from PEAR, note that you can install it <a href="https://packagist.org/packages/phing/phing">via Composer</a> now too) and how to set up your first project XML definition. He shows you how to add a "target" or step to the build with the basic example of running your app's PHPUnit tests. He also includes a list of other things Phing can do and work with including CodeSniffer checks, FTP handling, version control interfaces and automated documentation.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2013 09:08:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Grzegorz Godlewski's Blog: Automating software development and deployment]]></title>
      <guid>http://www.phpdeveloper.org/news/18123</guid>
      <link>http://www.phpdeveloper.org/news/18123</link>
      <description><![CDATA[<p>
<i>Grzegorz Godlewski</i> has <a href="http://blog.twelvecode.com/2012/06/20/automating-software-development-and-deployment/">a new post</a> to his blog that looks at some of the concepts and practices around automated software deployment and development (specifically with <A href="http://phing.info">Phing</a>).
</p> 
<blockquote>
Phing is a tool designed for automated project building based on Apache Ant distributed as a PEAR extension. It provides the user with the possibility of building the project / application in the same manner as make does with its Makefiles, making complex process execution (which is commonly human error prone) much easier.
</blockquote>
<p>
He walks you through the steps for getting Phing set up, the directory structure you'll need for your project and a sample build and property files as well as an example of the output from the build execution. He talks about filters, execution control, extensibility and looks at some of the things that he suggests automating.
</p>]]></description>
      <pubDate>Thu, 21 Jun 2012 11:10:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Marcelo Gornstein's Blog: PHP Continuous integration, with Jenkins and Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/17879</guid>
      <link>http://www.phpdeveloper.org/news/17879</link>
      <description><![CDATA[<p>
On his site <i>Marcelo Gornstein</i> has published a new guide to getting a basic automated continuous integration server set up <a href="http://marcelog.github.com/articles/ci_jenkins_hudson_continuous_integration_php_phing.html">with Jenkins and Phing</a>.
</p>
<blockquote>
This article is about how to use <a href="http://www.phing.info/trac/">Phing</a> in your projects, so a <a href="http://en.wikipedia.org/wiki/Continuous_integration">continuous integration</a> server (in this case <a href="http://jenkins-ci.org/>Jenkins</a> -ex Hudson-) can generate the necessary <a href="http://en.wikipedia.org/wiki/Artifact_(software_development)">artifacts</a> 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. 
</blockquote>
<p>
He introduces the Phing tool and explains how it makes automating the steps of your process simpler, relating it to the <a href="http://ant.apache.org/">Apache Ant</a> tool for those familiar with it. He links to several of the resources used in the process including <a href="http://phpmd.org/>PHPMD</a>, <a href="https://github.com/sebastianbergmann/phploc>PHPLoc</a>, <a href="http://www.docblox-project.org/">DocBlox</a> and <a href="https://github.com/marcelog/Ci-Php-Phing-Example">the code for the article</a> itself. He outlines the process and, complete with <a href="http://marcelog.github.com/articles/ciconfigexample.jpeg">a screenshot of the final result</a>, shows you how to get everything configured and running smoothly.
</p>]]></description>
      <pubDate>Fri, 27 Apr 2012 12:18:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Deploy and Release your Applications with Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/17806</guid>
      <link>http://www.phpdeveloper.org/news/17806</link>
      <description><![CDATA[<p>
In <a href="http://phpmaster.com/deploy-and-release-your-applications-with-phing/">this new post</a> to the PHPMaster.com site today <i>Vito Tardia</i> introduces you to <a href="http://phing.info">Phing</a>, a tool for making builds and deploying your applications (and it's PHP based!)
</p>
<blockquote>
Suppose you have a web application that is installed on many hosts. Each installation may have a custom configuration, and the application is still in active development. You need an easy way to deploy new features and bug fixes to all of hosts. [...] In this article I show you how to use this knowledge [from <a href="http://phpmaster.com/using-phing/">this previous article</a>] to write a boilerplate build file, one that can be customized and reused in your real-world applications. We'll use Phing's Subversion tasks to manage the repository and the FileSync extension to synchronize your local installation with a remote server.
</blockquote>
<p>
He helps you to get the environment set up correctly (installing the needed PEAR packages), create a basic build file with the FTP settings in it and creating a "deploy" target to do the work. He also shows the settings/configuration involved in a "prepare" target that does the SVN work to do some of the pre-push work. Finally, he shows a "release" target that bundles up the files into a package and pushes it up to the server (via FTP).
</p>]]></description>
      <pubDate>Thu, 12 Apr 2012 08:24:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Touchdown Services Blog: Phing development update 01/04/2012]]></title>
      <guid>http://www.phpdeveloper.org/news/17766</guid>
      <link>http://www.phpdeveloper.org/news/17766</link>
      <description><![CDATA[<p>
On the Touchdown Consulting Services blog, there's <a href="http://www.touchdownconsulting.nl/2012/04/phing-development-update-01042012/">a new update posted about Phing</a>, the popular PHP-based <a href="http://phing.info">build tool</a> and some recent advancements the project has made.
</p>
<blockquote>
<a href="http://www.touchdownconsulting.nl/2012/03/phing-development-update/">Roughly a month ago I posted</a> the first in, what should become, a series of development updates concerning <a href="http://www.phing.info/">Phing</a>. This second blog post details the most important updates during the past four weeks as Phing is moving steadily towards another release (2.4.10 is due out next week).
</blockquote>
<p>Updates mentioned in this post are:</p>
<ul>
<li>User Guide starts move to DocBook format
<li>Liquibase docs
<li>PhpDocumentor
<li>PHP 5.4 compatibility
<li>PHAR package
<li>Various (bug)fixes, the 2.4.10 release (listed)
</ul>
<p>
Check out the <a href="http://www.touchdownconsulting.nl/2012/04/phing-development-update-01042012/">full post</a> for more details on each of these topics.
</p>]]></description>
      <pubDate>Tue, 03 Apr 2012 08:43:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Using Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/17350</guid>
      <link>http://www.phpdeveloper.org/news/17350</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial posted about <a href="http://phpmaster.com/using-phing/">using the Phing build tool</a> to automate a process, usually a build for a website launch. In his example, he shows a simple "Hello World" example and how to work with multiple targets in the same build file.
</p>
<blockquote>
Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. [...] Phing helps overcome [human error] issues by automating tasks like running unit tests, applying database changes, deploying application code, etc. In this article I'll show you some of the basics of working with Phing.
</blockquote>
<p>
He includes the commands you'll need to install Phing (if it's not already) via the PEAR installer and a basic "build.xml" file. He explains the parts of the file - tags for "project", "target" "echo" and "property - and includes a more complex build example with multiple targets (and how to call one specifically from the command line).
</p>]]></description>
      <pubDate>Thu, 05 Jan 2012 10:41:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Adell's Blog: Phar Flung Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/16906</guid>
      <link>http://www.phpdeveloper.org/news/16906</link>
      <description><![CDATA[<p>
<i>Josh Adell</i> has posted about a bit of automation he set up with <a href="http://phing.info">Phing</a> and PHP's <a href="http://php.net/phar">phar</a> packaging to create an archive as a part of his build system. It's a <a href="http://blog.everymansoftware.com/2011/09/phar-flung-phing.html">simple five step process</a> mad even easier by the fact that Phing already has a PharPackage task.
</p>
<blockquote>
One of the cooler features of PHP 5.3 is the ability to package up a set of PHP class files and scripts into a single archive, known as a PHAR ("PHp ARchive"). [...]  I decided to see how easy it would be to wrap up <a href="http://github.com/jadell/Neo4jPHP">Neo4jPHP</a> in a PHAR for distribution. [...] Since I also started playing with Phing recently, I decided to see if I could incorporate packaging a project as a PHAR into my build system. It turns out, it's pretty easy, given that Phing has a built-in PharPackage task.
</blockquote>
<p>
He points you towards Phing's PEAR channel to get the tool installed and includes a command-line call to update your php.ini to allow PHP to generate phar files. Code is included to create the phar-generation stub as well as the XML for the Phing build file. You can find his <a href="http://github.com/downloads/jadell/Neo4jPHP/neo4jphp.phar">end result here</a>.
</p>]]></description>
      <pubDate>Mon, 26 Sep 2011 10:05:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: How to Use the Nettuts+ Phing Build Script]]></title>
      <guid>http://www.phpdeveloper.org/news/16751</guid>
      <link>http://www.phpdeveloper.org/news/16751</link>
      <description><![CDATA[<p>
NetTuts.com has come up with a <a href="http://phing.info">Phing</a> (the automated build tool written in PHP) build script that designers can drop in as a part of their deployment process to <a href="http://net.tutsplus.com/tutorials/tools-and-tips/how-to-use-the-nettuts-phing-build-script/">compress, concatenate and Prefixize</a> all of their stylesheets and scripts.
</p>
<blockquote>
We've created a build script for <a href="http://phing.info/">Phing</a> that will give designers the ability to automatically compress, concatenate, and Prefixize all of their stylesheets and scripts - simply by typing five characters. I'll show you how to use it in this quick tip video.
</blockquote>
<p>
The post includes <a href="http://net.tutsplus.com/tutorials/tools-and-tips/how-to-use-the-nettuts-phing-build-script/">a screencast</a> showing you how to get it all set up and working with the rest of your Phing install. They don't help you set up Phing - you'll need that already set up and running to use the task. You can grab teh script <a href="https://github.com/NETTUTS/Phing-Build-Script-for-Web-Designers">directly from github</a>.
</p>]]></description>
      <pubDate>Mon, 22 Aug 2011 11:50:40 -0500</pubDate>
    </item>
  </channel>
</rss>
