Killer Build Scripts with Phing: Premium Course
Download Source Files
In this 12-part Premium screencast course, I’m going to teach you exactly how to work with the popular build script tool, Phing. Phing allows us to automate so many of the things we do manually for each project, such as compressing and concatenating code, FTPing files, and pushing projects to GitHub. When you’re ready to dig in, just push play!
Become a Premium member to download this course, as well as hundreds of other advanced tutorials and screencasts.
Introductory Overview
Course Overview
- Introduction
- Installation and your First Build Script
- Declaring Properties
- Creating and Deleting Directories
- Copying Files with Filesets
- Compressing CSS Files
- Compressing JS Files
- Concatenating Files
- Compressing HTML and Using Selectors
- Using Regular Expressions to Update an HTML Page
- Creating Adhoc Tasks
- PHP, Regular Expressions, and Completing our Project
Join Net Premium
With over two hours of training, there’s no way you won’t become a Phing pro in no time. Let’s get started!
For those unfamiliar, the family of Tuts+ sites runs a premium membership service. For $19 per month, you gain access to exclusive premium tutorials, screencasts, and freebies from Nettuts+, Psdtuts+, Aetuts+, Audiotuts+, Vectortuts+, and CgTuts+ For the price of a pizza, you’ll learn from some of the best minds in the business. Become a Premium member to read this tutorial, as well as hundreds of other advanced tutorials and screencasts.


thats awesome, i don’t regret buying a premium at all!
Wow it seems really interesting. Is possible to join premium membership with an envato marketplace account ? (I mean using the money I already have in my account)
If it’s not possible don’t worry I’ll buy this specific tutorial on Tuts+ Marketplace :D
Thanks !
Yeah – that’s probably the easiest way. Just purchase it on the Tutorials marketplace. :)
Hello, this tutorial seems really great, it’s something I’m very excited about. But I saw that you use commandline. So I guess that there is no way to run or create all those scripts if you’re using shared webhosting and don’t have access to commandline, am I right? Thanx
In the tutorial, the process is done on your local manchine; intending that you then upload the output from the build script.
So I wouldn’t worry to much about no being able to SSH into your server and installing/running it all.
Excellent course Jeffrey, I didnt even know these sorts of tools existed so thanks.
Just 1 question, how come you dont tend to concatenate your own CSS/JS as on prefixr.com for example?
Thanks again
Hey Alan –
I do. The only thing that isn’t concatenated is the CodeMirror scripts – because I’m still testing that out for the alpha release. Might remove it.
Ofantligt bra lektion. Hatten av!
Opps… :)
Immense good lesson. Hats off!
Woow, great lesson.
I’m wondering, is there a handy-dandy way to make this work with a CodeIgniter project?
I’m also wondering, in the screencast (the last video) you make sure that not all files (js/css) are copied to the publish folder, but what I noticed, is that this way the ‘lib’ folder in the ‘js’ folder didn’t get copied.
Am I right?
I noticed you are using Sublime Text 2 now, me too. What do you think about it? I like it a lot more than Dreamweaver but I’m missing how easy is to work with FTP in Dreamweaver.
I never heard of phing up until 2 days ago. Then some developers told me it was crucial.
I’d love to see an article on the entire workflow from an experienced, seasoned developer. You don’t get stuff like this from most hobbyists (like myself). All you get are bits and pieces.
This seems like a very big cog that’s been missing from my development. What else is there? :P
Will be purchasing this once I have my wallet beside me.
I saw the video and it is user friendly, I would like to become member in phing.
I’m interested in getting a premium account to view this tutorial, or even just purchasing this tutorial individually. However I’m really interested in setting up Phing with my jenkins continuous integration server so that I can use it to deploy my application directly to the production environment & execute the sql scripts, setup cron jobs, etc.
So my question is does this tutorial cover aspects of deployment and if not perhaps this could be something a future tutorial might cover?