Rob Allen talks about Vagrant in Zend Framework 1

May 9, 2012

Zend Framework

Recently Rob Allen wrote a post for his blog titled “Vagrant in Zend Framework 1“. If you use Vagrant to control your virtual machines, you are going to like this post. Rob is long on the how but short on the why; he assumes you know what the tools are and how to use them. This isn’t a bad thing but if you aren’t already familiar with the tools, this isn’t the tutorial you are looking for.

Her’es a quick bite to wet your appetite.

Vagrant is a fantastic tool that enables you to manage and run virtual machines from the command line, including automatic provisioning of them using puppet or chef. The really cool thing about it however from my point of view is that vagrant automatically sets up the VM with a folder called /vagrant that holds the code on your local hard drive from where you started the VM. This means that you can continue to edit your code in your local editor/IDE and test it within the VM easily.

Rob shows you how to:

  • Get up and running
  • Check out the Zend Framework codebase
  • Build your target version of PHP
  • Run your tests

The great thing is he also shows you how to have multiple versions of PHP and test against each of them.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PC's. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is currently based in Nashville, TN and is gainfully unemployed as the Chief Marketing Officer of Blue Parabola, LLC. Cal is happily married to wife 1.28, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Day Camp 4 Developers

View all posts by Cal Evans

One Response to “Rob Allen talks about Vagrant in Zend Framework 1”

  1. Mac Follower Says:

    doing this with ubuntu vm and samba since years, seems like people never knew about these basic techniques, well, great that vagrant makes this now easy for all the mac newcomers.

Leave a Reply

You must be logged in to post a comment.