Killer Build Scripts with Phing: Premium Course
plusvideos

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.

Killer Build Scripts with Phing: Premium Course

Introductory Overview


Course Overview

  1. Introduction
  2. Installation and your First Build Script
  3. Declaring Properties
  4. Creating and Deleting Directories
  5. Copying Files with Filesets
  6. Compressing CSS Files
  7. Compressing JS Files
  8. Concatenating Files
  9. Compressing HTML and Using Selectors
  10. Using Regular Expressions to Update an HTML Page
  11. Creating Adhoc Tasks
  12. PHP, Regular Expressions, and Completing our Project

Join Net Premium

NETTUTS+ Screencasts and Bonus Tutorials

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.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • waste

    thats awesome, i don’t regret buying a premium at all!

  • http://grafikart.fr Grafikart

    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 !

    • http://www.jeffrey-way.com Jeffrey Way
      Author

      Yeah – that’s probably the easiest way. Just purchase it on the Tutorials marketplace. :)

  • George

    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

    • http://www.nouveller.com/ Benjamin Reid

      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.

  • Alan

    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

    • http://www.jeffrey-way.com Jeffrey Way
      Author

      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.

  • http://dannilsson.se Dan

    Ofantligt bra lektion. Hatten av!

  • http://dannilsson.se Dan

    Opps… :)
    Immense good lesson. Hats off!

  • http://www.robgloudemans.nl Rob

    Woow, great lesson.
    I’m wondering, is there a handy-dandy way to make this work with a CodeIgniter project?

  • http://www.robgloudemans.nl Rob

    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?

  • http://www.giulianoliker.com Giuliano

    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.

  • Rory

    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.

  • http://www.techendeavour.com suresh

    I saw the video and it is user friendly, I would like to become member in phing.

  • http://none Interested

    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?

  • http://profiles.google.com/steverobillard Steve Robillard

    Jeffrey, You discuss name-spacing properties as a best practice, but I can’t see a mention to this anywhere in the Phing Docs. Do you have a reference for this.