News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Deploy and Release your Applications with Phing
April 12, 2012 @ 08:24:05

In this new post to the PHPMaster.com site today Vito Tardia introduces you to Phing, a tool for making builds and deploying your applications (and it's PHP based!)

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 this previous article] 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.

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

0 comments voice your opinion now!
deploy application phing build xml tutorial


blog comments powered by Disqus

Similar Posts

DevShed: Using Method Call Overloading in PHP 4

PHPClasses.org Blog: Throttling Background Tasks: Unusual Site Speedup Techniques: Part 2

Symfony Blog: Push it to the limits - Symfony2 for High Performance needs

Chris Shiflett\'s Blog: ZF Tutorial Update

Pablo Viquez's Blog: Zend_Log, FirePHP and Zend_Application. How to


Community Events

Don't see your event here?
Let us know!


laravel5 introduction voicesoftheelephpant community interview framework php7 opinion language version series extension unittest api wordpress library podcast laravel list release

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework